Automounting a Windows Share
Mike McGrath
mmcgrath at iesabroad.org
Mon Jul 18 18:41:46 UTC 2005
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Phil Vecchione
> Sent: Monday, July 18, 2005 1:38 PM
> To: fedora-list at redhat.com
> Subject: Automounting a Windows Share
>
> Hello,
>
> I have a linux machine (Fedora Core 2) and a Windows XP
> machine. I have an mp3 collection on the XP machine, that I
> would like to make available to the linux machine.
>
> I can use the following mount command and successfully mount
> the drive:
>
> mount.cifs //MACHINE/mp3_org mp3/ -o password=
>
>
>
> I would like to have this drive automounted, so that when I
> reboot the Windows machine (every few days) I don't have to
> mount the drive manually from the linux machine.
>
> I read a few HOWTO's but did not have much luck.
>
> I did edit the /etc/auto.master file and added the following line:
>
> /auto /etc/auto.misc --timeout=30
>
>
> Then I created the /auto directory and created in it a
> directory called mp3/, as the mount point for the automount.
>
> Then I went into the /etc/auto.misc file and added the
> following entry:
>
> mp3 -fstype=smbfs,password= ://MACHINE/mp3_org
>
>
>
> I saved everything, restarted autofs, but I cannot automount
> the drive.
>
> I think I am just stuck on the proper syntax of the statement
> in the auto.misc file, but I am stumped.
>
> Any ideas?
>
> Thanks.
>
> ___________________________________________________________
> Phil Vecchione
> E-Mail: dnaphil at yahoo.com
> Web: www.dnaphil.com
> ___________________________________________________________
> "In such extreme circumstances, the law is by definition
> inadequate. To shame its inadequacy, it is necessary to act
> outside the law, to pursue natural justice. This is not
> vengeance. Revenge is not a valid motive - it is an emotional
> response." --The Punisher
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
# /etc/auto.misc ####
mp3 -fstype=cifs,credentials=/root/.pass
MACHINE:/mp3_org
#####################
.pass should contain the following:
###############
username=someuser
password=somepassword
################
-Mike
More information about the fedora-list
mailing list