Mounting partitions with same label as filesystem mountpoint name

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

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux