Robert Moskowitz
2008-Jan-17 19:34 UTC
[CentOS] Do you need to reboot after adding an entry to fstab?
man mount.davfs provides an entry in fstab for -t davfs. Does simply adding this into fstab complete the task, or is a reboot needed? (or some service restarted).
On Jan 17, 2008 11:34 AM, Robert Moskowitz <rgm at htt-consult.com> wrote:> man mount.davfs provides an entry in fstab for -t davfs. Does simply > adding this into fstab complete the task, or is a reboot needed? (or > some service restarted). >IIRC, as long as you have the proper fs module loaded, all you need to do is mount the file system. mhr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080117/5ba02c51/attachment-0002.html>
Jeff Larsen
2008-Jan-17 20:53 UTC
[CentOS] Do you need to reboot after adding an entry to fstab?
On Jan 17, 2008 2:11 PM, MHR <mhullrich at gmail.com> wrote:> On Jan 17, 2008 11:34 AM, Robert Moskowitz <rgm at htt-consult.com> wrote: > > man mount.davfs provides an entry in fstab for -t davfs. Does simply > > adding this into fstab complete the task, or is a reboot needed? (or > > some service restarted). > > > IIRC, as long as you have the proper fs module loaded, all you need to do is > mount the file system.Maybe goes without saying, but 'mount -a' would be recommended as that reads from fstab to perform the mount. We don't want any surprises on our next boot do we? -- Jeff
Kenneth Porter
2008-Jan-18 01:40 UTC
[CentOS] Do you need to reboot after adding an entry to fstab?
--On Thursday, January 17, 2008 2:34 PM -0500 Robert Moskowitz <rgm at htt-consult.com> wrote:> man mount.davfs provides an entry in fstab for -t davfs. Does simply > adding this into fstab complete the task, or is a reboot needed? (or > some service restarted).fstab is the list of mounts that will be done at boot, but you can manually invoke mount at any time with the same arguments supplied from a line in fstab. As the others have stated, invoking mount with just the device name or the mount point is a good way to test your fstab entry, as mount will look in fstab if you don't supply all the arguments.