logo       

Re: automount samba shares: msg#00388

org.user-groups.linux.philippine

Subject: Re: automount samba shares

> Hi all!
>
> I've been hacking my /etc/fstab trying to get it to automount remote Samba
> shares from our server. I hope someone can help me with some questions:
>
> 1. How do you set the default smbfs options? I know you can place
> options in /etc/fstab, but it seems there are other options
> being set without my putting them in /etc/fstab. For example,
> the "noexec" option is set even though I never specified it.
>
> 2. Won't a simple line in /etc/fstab (without the "noauto" option)
> suffice to get a share to be mounted upon boot? I know this is
> SUPPOSED to be the way things work in RH9, but the shares don't
> get mounted. They do work, however, when I simply issue:
>
> mount <mount-point>
>
> Any ideas on why this is happening?
>
> Thanks in advance! God bless!

in RH-derived (probably others) systems, they are [un]mounted by
/etc/init.d/netfs initscript. add your usual smb mount option in
/etc/fstab and mount it manually by executing:

/etc/init.d/netfs start

you can automatically mount network fs on reboot by:

chkconfig --level 345 netfs on

do RTFM :)


--

Edelberto S. Mania
CISP/NOC

--
Philippine Linux Users' Group (PLUG) Mailing List
plug-sJCYDywXB4m9hMQLrSLElQC/G2K4zDHf@xxxxxxxxxxxxxxxx (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise