Re: SAMBA -- automatic remounting
- From: Keith Keller <kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 11:30:30 -0800
On 2006-03-31, John-Paul Stewart <jpstewart@xxxxxxxxxxxxxxxx> wrote:
Beware of the difference between these two fstab lines:
//server/share /mnt/somewhere smbfs auto,user=me 0 0
//server/share /mnt/somewhere autofs defaults 0 0
The first example will automatically mount the smbfs filesystem at boot
time.
....or when mount -a is run. :)
The second example, where the *filesystem* type is specified as
*autofs* is (I believe) what Keith was referring to when he suggested
automount.
Actually, I've never used an fstab entry like that; typically I call the
automount program from a boot script:
automount /auto file /etc/auto.nfs
with a proper auto.nfs config file. Many distros have tools that make
configuring an automount ''easier'' (or, IMO, obfuscate configuring an
automount, but perhaps that's just me).
So, to the OP, one way or another you need the automount program to get
the desired behaviour; the auto flag in fstab is not what you think it
is.
--keith
--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
.
- References:
- Re: SAMBA -- automatic remounting
- From: Keith Keller
- Re: SAMBA -- automatic remounting
- From: The Natural Philosopher
- Re: SAMBA -- automatic remounting
- From: John-Paul Stewart
- Re: SAMBA -- automatic remounting
- Prev by Date: Re: SAMBA -- automatic remounting
- Next by Date: Re: SCO vs. Fedora Core
- Previous by thread: Re: SAMBA -- automatic remounting
- Next by thread: Re-Exporting NFS mounts under RHEL ES 3
- Index(es):
Relevant Pages
|