RE: Automounting a Windows Share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx 
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Phil Vecchione
> Sent: Monday, July 18, 2005 1:38 PM
> To: fedora-list@xxxxxxxxxx
> 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@xxxxxxxxx
> 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@xxxxxxxxxx
> 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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux