View Single Post
  #6   (View Single Post)  
Old 23rd July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

For an example of DutchDaemon's point:

Code:
[~]% du -h /rescue/
3.6M    /rescue/
[~]% ls -s /rescue/
total 445292
3680 [*               3680 date*            3680 fsck*            3680 ipf*             3680 mount_msdosfs*   3680 rdump*           3680 spppcontrol*
3680 atacontrol*      3680 dd*              3680 fsck_4.2bsd*     3680 kenv*            3680 mount_nfs*       3680 realpath*        3680 startslip*
3680 atmconfig*       3680 devfs*           3680 fsck_ffs*        3680 kill*            3680 mount_ntfs*      3680 reboot*          3680 stty*
3680 badsect*         3680 df*              3680 fsck_msdosfs*    3680 kldconfig*       3680 mount_nullfs*    3680 red*             3680 swapon*
3680 bsdlabel*        3680 dhclient*        3680 fsck_ufs*        3680 kldload*         3680 mount_udf*       3680 rescue*          3680 sync*
3680 bunzip2*           10 dhclient-script* 3680 fsdb*            3680 kldstat*         3680 mount_unionfs*   3680 restore*         3680 sysctl*
3680 bzcat*           3680 disklabel*       3680 fsirand*         3680 kldunload*       3680 mv*              3680 rm*              3680 tar*
3680 bzip2*           3680 dmesg*           3680 gbde*            3680 ldconfig*        3680 newfs*           3680 rmdir*           3680 tcsh*
3680 camcontrol*      3680 dump*            3680 getfacl*         3680 link*            3680 newfs_msdos*     3680 route*           3680 test*
3680 cat*             3680 dumpfs*          3680 groups*          3680 ln*                 2 nextboot*        3680 routed*          3680 tunefs*
3680 ccdconfig*       3680 dumpon*          3680 gunzip*          3680 ls*              3680 nos-tun*         3680 rrestore*        3680 umount*
3680 chflags*         3680 echo*            3680 gzcat*           3680 md5*             3680 pax*             3680 rtquery*         3680 unlink*
3680 chio*            3680 ed*              3680 gzip*            3680 mdconfig*        3680 ping*            3680 rtsol*           3680 vi*
3680 chmod*           3680 ex*              3680 halt*            3680 mdmfs*           3680 ping6*           3680 savecore*        3680 whoami*
3680 chroot*          3680 expr*            3680 hostname*        3680 mkdir*           3680 ps*              3680 sconfig*         3680 zcat*
3680 clri*            3680 fastboot*        3680 id*              3680 mknod*           3680 pwd*             3680 setfacl*
3680 cp*              3680 fasthalt*        3680 ifconfig*        3680 mount*           3680 rcorder*         3680 sh*
3680 csh*             3680 fdisk*           3680 init*            3680 mount_cd9660*    3680 rcp*             3680 slattach*
Most files (except nextboot and dhclient-script) in /rescue/ are a hard link to /rescue/rescue.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote