[Bug 10546] New: umount block device always unmount block device mounted on top
bugzilla at busybox.net
bugzilla at busybox.net
Tue Dec 5 15:22:53 UTC 2017
https://bugs.busybox.net/show_bug.cgi?id=10546
Bug ID: 10546
Summary: umount block device always unmount block device
mounted on top
Product: Busybox
Version: 1.26.x
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: sven at haardiek.de
CC: busybox-cvs at busybox.net
Target Milestone: ---
If I mount multiple block devices on the same mountpoint and try to unmount on
of the block devices not on top, busybox unmount the top block device and
return 0.
$ busybox mount /dev/sdb1 /mnt
$ busybox mount /dev/sdb2 /mnt
$ busybox mount | grep ^/dev/sdb
/dev/sdb1 on /mnt type iso9660
(ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/sdb2 on /mnt type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
$ busybox umount /dev/sdb1
$ busybox mount | grep ^/dev/sdb
/dev/sdb1 on /mnt type iso9660
(ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list