Re: customizing disk: free sectors problem

Tony Nugent <[email protected]> Wed, 07 May 2003 22:31:22 +1000
Newsgroups gmane.linux.tomsrtbt
Organization Linux Works
Message-ID <[email protected]>
On Wed May 07 2003 at 10:04, "Agora" wrote:

[ ... stuff about hardlinks ... ]

> 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)...

Hard-linking (or soft-linking) one file with potentially many
different names is no mystery to me, but I had no idea that busybox
was _so_ busy!  42?  wow.

> Where is the trick? :)

busybox.  It's very cool.  Do a search at http://google.com/linux
and you'll find many references to it... a swiss army-knife of many
different utilities all rolled into one binary.  When it is run, it
checks what name it is called by and then does what that program is
supposed to do.

> 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?

Not impossible at all.  smbmount works already, has for a long time.
Or at least it did last time I used it with tomsrtbt (admittedly
that would be quite a while for smbfs, perhaps a couple of years).

If I recall, one of the tricks I did to get things working was to
edit /etc/hosts and add the netbios name(s) and the IP address(es)
of the smb fileserver box(es) I wanted to connect to.  (Perhaps you
might not need to do this, or use an LMHOSTS file?)

To get smbfs itself to work, it is a matter of specifying the right
options (username, password, workgroup, share name, server name and
IP, etc) to smbmount.  The win/smb server will authenticate the
connection with the nt/smb password server and grant permission for
the connection.  It worked like a charm for me.

> Thanks again!

> Fermín

Cheers
Tony