On Wed, 18 Sep 2002, Rob van der Heij wrote: > At 15:46 17-09-02 -0400, Post, Mark K wrote: > > >$ du -csh /usr/sbin > > From the peanut gallery: the number reported by 'du' > is not always what you would save on the parent file > system when you move this to another block device. > With hard links the same file can be counted multiple > times.
Can it? [root@skink tmp]# dd if=/dev/zero count=5k bs=1024 of=filler 5120+0 records in 5120+0 records out [root@skink tmp]# du -csh . 146M . 146M total [root@skink tmp]# cp -l filler filler2 [root@skink tmp]# du -csh . 146M . 146M total [root@skink tmp]# -- Cheers John. Please, no off-list mail. You will fall foul of my spam treatment. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
