Page 1 of 1


Posted: Fri Jan 30, 2004 5:21 am
by zzo
In (hopeful) preparation of running mythmusic I got samba working (specifically smbmount).
Here's how:
Downloaded the latest samba release & just had to edit souce/client/smbmount.c & source/client/smbmnt.c & added these lines right below the line:
#include <mntent.h>

/* I added these */
#undef MOUNTED
#define MOUNTED "/var/mtab"

That's it! Unfortunately 'MOUNTED' which is defined in <mntent.h> points to /etc/mtab but
since /etc is read-only in mini-myth I had to point it somewhere else that is writable.
I wish there was a cleaner way but alas it's not a compile time option where to put this
lockfile (no it's not the same as 'lock directory' in smb.conf).
Anyhoo compiled away & copied 'smbmount' to <minimyth root>/usr/bin & 'smbmnt' to minimyth root>/usr/sbin & made sure I had these libraries: => /lib/ (0x40023000) => /lib/ (0x40051000) => /lib/ (0x40062000) => /lib/ (0x40076000) => /lib/ (0x40079000)
/lib/ => /lib/ (
(which I think I already did have them)
& booted up my minimyth &:
# smbmount \\\\boppo\\share /data
& boom there it was!
(Of course I made the /data directory too in my mini-myth distro filesystem)
Larry if you want to host the files 'smbmount' & 'smbmnt' that I made I'd gladly upload them
to you....

On to mythmusic!!

Posted: Fri Jan 30, 2004 6:14 am
by lmatter
That's great news. If I can manage it, I'll get translucencyfs into minimyth-0.4 so the /etc/ partition will be writable.

Then I'll expect you to put samba into our GAR CVS :-)

If you email me the files I'll put them on Not sure if I'll get them into the distro yet.