Re: [Fedora] Re: CIFS mounting

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

 



Peter Gordon wrote:
Just add the user/passwd fields as options, like you would noexec or
umask or similar:

//server1/OData   /mnt/server1/OData   cifs   user=foo,passwd=bar   0 0

(The fsck/dump options are both set to 0 since the server's OS would be
responsible for the raw filesystem maintenance.)
Thanks Peter. Looks like I have two options here, either putting the username and passwd in fstab, or in a credentials file as suggested by Akemi in a different response. Now for another question: how do I check whether the mounts are still active and haven't gone stale (prior to copying files to them)?

This is all happening on a private network and there's the possibility of the remote server getting rebooted at times. I need some failsafe way of checking those mounts.

--
H | It's not a bug - it's an undocumented feature.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.


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

  Powered by Linux