All of lore.kernel.org
 help / color / mirror / Atom feed
* Mounting partitions with same label as filesystem mountpoint name
@ 2019-04-18 18:37 David Ford
  0 siblings, 0 replies; only message in thread
From: David Ford @ 2019-04-18 18:37 UTC (permalink / raw)
  To: linux-block

kernel: 5.0.7-arch1-1-ARCH

Is this a known oddity? I tried to mount a partition today that has
the gpt label and partlabel of "backups" to /mnt/backups. The syscall
succeeds but in reality, it silently failed. dmesg reports the
filesystem was mounted.

mount("/dev/sdc3", "/mnt/backups", "ext4", 0, NULL) = 0
[...]
[259524.127545] EXT4-fs (sdc3): mounted filesystem with ordered data
mode. Opts: (null)

It isn't actually mounted nor is there any mount data reflected
anywhere in /proc or /sys for it. If the mount point is named
differently, it succeeds.

└─> ls -ald /mnt/backups
drwxr-xr-x 2 root root 4096 Apr 18 10:41 /mnt/backups
└─> mv /mnt/backups /mnt/backitup
└─> mount /dev/sdc3 /mnt/backtitup
└─> df|grep backit
/dev/sdc3            3.8T   68M  3.6T   1% /mnt/backitup

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-18 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-18 18:37 Mounting partitions with same label as filesystem mountpoint name David Ford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.