Re: customizing disk: free sectors problem

"Agora" <[email protected]> Wed, 7 May 2003 10:04:59 +0200
Newsgroups gmane.linux.tomsrtbt
Message-ID <002e01c3146f$5b22ab70$4000a8c0@sirio>
> You need to learn how hard links work.  Consider:
>
> ls -li /rb/2/bin/gzip /rb/2/bin/ifconfig
>
> 2441750 -rwxr-xr-x   42 tom      users      114716 Feb  2 17:12
/rb/2/bin/gzip
> 2441750 -rwxr-xr-x   42 tom      users      114716 Feb  2 17:12
/rb/2/bin/ifconfig
>
> Note the column that says "42".  This means there are 42 files that are
> the SAME FILE.  Deleting either one frees *nothing*!  The 2441750 is the
> *inode* of the file.  There is a file which is internally called
"2441750".
> There are *2* directory entries that point to it!  You must delete *all
42*
> of them before you free *anything*!  (PS: tomsrtbt won't work if you
do...).

Ok, thanks! Now all make sense... although is very amazing
to me that 42 programs (gzip, ifconfig, etc.) with very different
functions were the same physical file (the same inode, I mean)...
Where is the trick? :)

If disk space cannot be freed deleting files, how
can I configure the tomsrtbt diskette to
include SMB support (that is, de smbfs.o
module and the smbmount, smbmnt and
smbumount files to mount/umount remote
shared resources)? Or it is impossible?

Thanks again!

----------
Fermín