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

Re: is mount /var/something -o remount -f dangerous ?



Thedore Knab said:
> I hate to be a nervous nut but,

> mount /var/mail -o remount -f


according to the mount manpage in stable:

 -f     Causes  everything to be done except for the actual
              system call; if it's not  obvious,  this  ``fakes''
              mounting the file system.  This option is useful in
              conjunction with the -v flag to determine what  the
              mount  command is trying to do. It can also be used
              to add entries for devices that were  mounted  ear�
              lier with the -n option.

that tells me that -f is just a simulation of the mount, it
doesn't actually do anything.

so it should be safe, but it shouldn't change the state of the
filesystem.

nate





Reply to: