Re: mount --no-canonical seems broken.

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

 



On Mon, Apr 22, 2013 at 03:30:45PM -0700, Linda Walsh wrote:
> 
> I would use mount --no-canonical to rewrite mtab to match fstab so
> 
> my utils could find volumes in /etc/fstab -- but recently in
> util-linux-2.21.2
> this has no longer worked.
> 
> I made sure to have /etc/mtab NOT be a symlink to /proc/self/mounts so
> mount could write to it.  It DOES write to it, but it doesn't display it.
> 
> Example:
> After doing a remount as recommended by the manpage...
> 
>     mount -f --no-canonical -a -o remount

 Well, --no-canonicalize assume that all paths are already
 canonicalized and the remount updates mount options only.


 What exactly do you want to do? Maybe we can try to find a better
 solution than play nasty games with mtab ;-)

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux