Where is the best place for "mount" commands?

Andy Green andy at warmcat.com
Wed May 3 12:36:40 UTC 2006


WipeOut wrote:
> I have a number mounts I need for network shares on my samba server.. I 
> would like the mount commands to run when I login..
> 
> Where is the best place for a "login script" type thing in a Linux system?
> 
> I have read mention of using rc.local, .bashrc and .profile files but 
> haven't found anything conclusive as to what the "right" way to do it is..
> 
> Any advice would be appreciated..

/etc/fstab will sort it out best I think.  See man mount and filesystem 
type cifs.

-Andy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060503/0c36fb56/attachment-0001.bin>


More information about the fedora-list mailing list