[uClibc]Alternative network filesystems

Mike Steed msteed at altiris.com
Thu Feb 14 16:56:34 UTC 2002


Here is how I built smbmount and smbmnt against uClibc-0.9.9.

Get samba-2.0.9, and apply the attached patch.  If your /etc/mtab is not a link to /proc/mounts then you should #undef ETC_MTAB_IS_LINK_TO_PROC_MOUNTS in source/client/smbmnt.c.  Then do the following, adjusting for your platform, etc.:

# cd samba-2.0.9/source
# CC=/usr/i386-linux-uclibc/bin/gcc ./configure --prefix=/usr
# make bin/smbmount bin/smbmnt
# /usr/i386-linux-uclibc/bin/strip bin/*

Besides the two binaries, you will also need the following files in $(LIBDIR) (see the Makefile):

etc/smb.conf (can be empty)
etc/codepages/codepage.850
etc/codepages/unicode_map.850

Of course you may need other files depending on your codepage requirements.

Regards,
Mike

> -----Original Message-----
> From: Jason Bodnar [mailto:jason at shakabuku.org]
> Sent: Wednesday, February 13, 2002 5:25 pm
> To: Mike Steed; uClibc at uclibc.org
> Subject: RE: [uClibc]Alternative network filesystems
> 
> 
> I'm definitely interested. Do you think trying an even 
> earlier version of
> Samba would result in a smaller binary? I would think most 
> embedded systems
> only need minimal Samba support. I myself only need mounting 
> of read-only file
> systems.
> 
> Thank you very much,
> 
> Jason Bodnar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-uclibc.diff
Type: application/octet-stream
Size: 5224 bytes
Desc: samba-uclibc.diff
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020214/7c780ae5/attachment.obj 


More information about the uClibc mailing list