9.2 base bins hardlinks

John Baldwin jhb at freebsd.org
Thu Mar 27 18:00:14 UTC 2014


On Sunday, March 23, 2014 6:17:19 am rank1seeker at gmail.com wrote:
> FreeBSD 9.2-RELEASE-p3 i386
> 
> All 4 have a same inode, that is, they hardlink to 1 file
> # ls -i /bin/pgrep /usr/bin/pgrep
> # ls -i /bin/pkill /usr/bin/pkill
> 
> Also ...
> # ls -i /sbin/nologin /usr/sbin/nologin
> 
> 
> In all cases, why is there also one in '/usr/(s)bin' ?

Because they moved, and some folks might have the old path hardcoded.

-- 
John Baldwin


More information about the freebsd-hackers mailing list