[Samba] mount subdirectories from a Windows 2000 share

PIGNOL, Christian christian_pignol at merck.com
Fri Mar 19 08:45:26 GMT 2004


Hello,

I don't know if it is possible to do that !

The easy way I find to do that is :

1. Mount all my windows shares in a particular folder ... "/mnt" for
example, using a particular subfoldername (created manually) like
"/mnt/ServerName_ShareName" . I mount my windows shares with a script named
"MySmbMount" reading configuration informations from a text file named
"MySmbMount.conf". I can use this script by typing "MySmbMount start" for
mounting shares and "MySmbMount stop" for unmounting shares ... You can of
course include it in "/etc/init.d" for commodidity at reboot time.

2. Define "symbolic names" (ln -s) for all my applications at the rigth
place ("/ApplicationName/MyFolder/subfolder-of-a-window-share"). I do that
with a script named "MySymbolicNames" running on demand and reading
configuration informations from a text file named "MySymbolicNames.conf". I
can use this script by typing "MySymbolicNames start" for creating symbolic
names and "MySymbolicNames stop" for deleting symbolix names ...

With two shell scripts and two text configuration files, it's really easy to
do that.

I hope this answer can help you.

regards 

Christian PIGNOL
* (+33) 473 67 62 96
*   (+33) 473 67 61 29
*  christian_pignol at merck.com


-----Original Message-----
From: samba-bounces+christian_pignol=merck.com at lists.samba.org
[mailto:samba-bounces+christian_pignol=merck.com at lists.samba.org] On Behalf
Of Matthias Rau
Sent: vendredi 19 mars 2004 09:07
To: samba at lists.samba.org
Subject: [Samba] mount subdirectories from a Windows 2000 share


Hello list,

is it possible to mount directly subdirectories from a Windows2000 share
with smbmnt,
like  mount -t smbfs -o username=xxx  \\\\server\\share\\subdir  /mnt ?

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
Jersey, USA 08889), and/or its affiliates (which may be known outside the
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan as
Banyu) that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or entity
named on this message.  If you are not the intended recipient, and have
received this message in error, please notify us immediately by reply e-mail
and then delete it from your system.
------------------------------------------------------------------------------


More information about the samba mailing list