Re: SAMBA -- automatic remounting



In comp.os.linux.misc The Natural Philosopher <a@xxx>:
Ignoramus27088 wrote:
On 30 Mar 2006 07:46:37 -0800, Michael Wulff <mwulfff@xxxxxxxx> wrote:
to ensure that these mounts would survive reboots of the server
put this in /etc/fstab:

//servername/share /mount/point smbfs
auto,username=user,password=pw,uid=500,gid=500 0 0

Thanks. It works very nicely when I just type mount. I hope that it
would also auto-remount the partition if the server that hosts these
shares is rebooted. (is that the case?)

i

I think the auto bit means 'I will mount if someone needs to access the
drive' ..

No it doesn't, just means mount the fs during boot automatically.

See mount(8).

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 236: Fanout dropping voltage too much, try cutting
some of those little traces
.



Relevant Pages

  • Re: Problem with random disks mount sequence
    ... I'll get random mount sequences. ... At the beginning the USB ... nautilus remember that 'storage3' was 1st partition, ... SCSI drives are listed by order of discovery. ...
    (Fedora)
  • 2.6.32-rc6 - 2.6.32-rc6-git3 misinterpreting fstype on boot
    ... strangeness - misinterpreting the xfs partition as reiserfs. ... proc on /proc type proc ... is a reiserfs partition it needs to mount as "/root"????. ...
    (Linux-Kernel)
  • Re: 2.6.32-rc6 - 2.6.32-rc6-git3 misinterpreting fstype on boot
    ... strangeness - misinterpreting the xfs partition as reiserfs. ... system.board.vendor = 'ASUSTeK Computer INC.' ... is a reiserfs partition it needs to mount as "/root"????. ...
    (Linux-Kernel)
  • Re: Ubuntu second hard drive was Windows partition
    ... Ubuntu second hard drive was Windows partition ... If ntfs-3g does come default in ubuntu, you can probably mount the ... on these lists for a couple of years now and should know what to say and ...
    (Ubuntu)
  • Re: Relabel partition didnt work
    ... > You're confusing disk lables with mount points. ... > When installing etch, at some point partman asked for a mount point for ... > that partition and I entered /xyz. ... There's nothing to do to the second hard disk. ...
    (Debian-User)