Bug? Kernel doesn't prevent multiple rw nilfs mounts

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

 



Hi, When I mount a NILFS partition twice (not on purpose), it correctly prints:

  mount.nilfs2: the device already has a rw-mount on /mnt/_bak.
                multiple rw-mount is not allowed.

But the mount happens anyway?!

  /dev/sdb4 on /mnt/_bak type nilfs2 (rw,relatime)
  /dev/sdb4 on /mnt/sdb4 type nilfs2 (rw,relatime)

I saw this in Linux 3.2.16, then upgraded to 3.10.7 and it still happens. Writing to these mounts in parallel causes buggy behavior, though it didn't corrupt my partition (yet).

Has no-one tested this lately?

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux