[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: duplicate binaries



[BIG snip]

Look at this:
$ ls -li /bin/*grep* /usr/bin/*grep*
   6071 -rwxr-xr-x   3 root     root    74308 Apr 11  1998 /bin/egrep*
   6071 -rwxr-xr-x   3 root     root    74308 Apr 11  1998 /bin/fgrep*
   6071 -rwxr-xr-x   3 root     root    74308 Apr 11  1998 /bin/grep*
 139868 -rwxr-xr-x   1 root     root    13248 Dec 21  1997 /usr/bin/rgrep*
 139300 -rwxr-xr-x   3 root     root     1375 Apr 26  1998 /usr/bin/zegrep*
 139300 -rwxr-xr-x   3 root     root     1375 Apr 26  1998 /usr/bin/zfgrep*
 139300 -rwxr-xr-x   3 root     root     1375 Apr 26  1998 /usr/bin/zgrep*

As you can see, the grep programs in /bin and three of the grep programs
in /usr/bin have the same inode numbers, so they are actually one program
with a couple of hard links to them.

No waste of space at all.

-- 
Andreas Persenius
andreas@alfaskop.net


Reply to: