mount --no-canonical seems broken.

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

 




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

mount and df now produce different output.


Ishtar:home/../archive# echo $PWD
/home/.snapdir/@GMT-2013.04.16-05.07.03/archive

Ishtar:home/../archive# df .
Filesystem                         Size  Used Avail Use% Mounted on
/dev/HnS/Home-2013.04.16-05.07.03  1.0T  787G  238G  77%
/home/.snapdir/@GMT-2013.04.16-05.07.03

Ishtar:home/../archive# mount |grep /home/snapdir
Ishtar:home/../archive# mount |grep 04.16
/dev/mapper/HnS-Home--2013.04.16--05.07.03 on
/home/.snapdir/@GMT-2013.04.16-05.07.03 type xfs (ro,nouuid,norecovery)

I've tried up to version util-linux-2.23-rc2....


Ideas?









--
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