Automatically mounting windows share in Fedora 12

Posted by user15865 on Super User See other posts from Super User or by user15865
Published on 2010-04-08T03:09:48Z Indexed on 2010/04/08 3:13 UTC
Read the original article Hit count: 344

Filed under:
|
|
|

Hi,

I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).

When I manually mount things work:

mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/servers

If I update /etc/fstab with the following:

//nas01/servers /mnt/nas01/servers cifs username=guest,password=myPassword 0 0

Nothing happens after reboot.

The thing that has me baffled is after a reboot if I run:

mount -a

The share is mounted.

Any ideas on this?

Thank you,

Martin

© Super User or respective owner

Related posts about cifs

Related posts about fstab