HomeFreeBSD

build: Use ls -i | cut rather than stat -f %i to extract inode

Description

build: Use ls -i | cut rather than stat -f %i to extract inode

ls -i dates back to 5th edition Unix and is more portable than the stat
command, though %% is a newer shellism, it works on any shell that
FreeBSD builds with.

Sponsored by: Netflix

Details

Provenance
impAuthored on May 2 2023, 8:51 PM
Parents
rG53df7e58cca7: geom_redboot(4): Garbage collect disconnected driver
Branches
Unknown
Tags
Unknown