public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* mount --no-canonical seems broken.
@ 2013-04-22 22:30 Linda Walsh
  2013-04-23 12:36 ` Karel Zak
  0 siblings, 1 reply; 8+ messages in thread
From: Linda Walsh @ 2013-04-22 22:30 UTC (permalink / raw)
  To: util-linux



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?










^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-21 19:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22 22:30 mount --no-canonical seems broken Linda Walsh
2013-04-23 12:36 ` Karel Zak
2013-04-24  0:39   ` Linda Walsh
2013-04-25  6:15     ` Linda Walsh
2013-05-20  7:40     ` Karel Zak
2013-05-20 23:30       ` Linda Walsh
2013-05-21  9:47         ` Karel Zak
2013-05-21 19:31           ` Linda Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox