Upstream (Karel Zak) says that this is pretty much wontfix for util-
linux, and man mount says that it doesn't try to parse mount options.
What pm-utils could do here is to remember the old mount options and use
this form instead, i. e. with explicitly specifying the directory:

        The  remount  functionality follows the standard way how the mount
        command works with options from fstab. It means the mount command
        doesn't read fstab (or mtab) only when  a  device  and dir are fully
        specified.

           mount -o remount,rw /dev/foo /dir

        After this call all old mount options are replaced and arbitrary stuff
        from fstab is ignored, except the loop= option which is internally
        generated and maintained by the mount command.

(from man mount).

** Package changed: util-linux (Ubuntu) => pm-utils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/891688

Title:
  mount -o remount always appends options to /etc/mtab even if they
  already exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/891688/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to