mounting an arbitrary directory?

Florian G. Pflug fgp at fgp.priv.at
Tue Dec 15 19:59:52 GMT 1998


On Tue, Dec 15, 1998 at 07:28:51PM +1100, Steve Hsieh wrote:
> Hi all,
> 
> Is it possible to specify an arbitrary unix directory to be mounted from
> samba? For example, to mount /usr/local/bin ?  Using a different smb
> server, I've seen the ability to do this by doing something like
> 
> Connect to:  \\smbserver\/usr/local/bin
> Connect as: user
> Password:   ****
> 
> In other words, I'd like to be able to specify the exact path I'd like to
> mount without having to explicity put it in smb.conf. (Permissions would
> of course be subject to whatever the permissions the user has in
> unixland).
> 
> If this isn't currently possible, could it be placed on the features
> wishlist?
> 
> Thanks.
> Steve
Hi

You could just make a share named e.g. root with "path = /". Then you could
mount it with
\\server\root\usr\local\bin

This is not exactly what you want, but quite close I guess..

mfg, fgp


More information about the samba mailing list