[Bug 2425] New: umount -a -r fails
bugzilla at busybox.net
bugzilla at busybox.net
Tue Aug 24 07:39:31 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=2425
Summary: umount -a -r fails
Product: Busybox
Version: 1.13.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: a6436575 at bofthew.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
calling umount -a -r fails. Output of strace:
...
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=397215, ...}) = 0
close(3) = 0
munmap(0x2aaae000, 1099) = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=20694, ...}) = 0
mprotect(0x2ab5f000, 4096, PROT_READ) = 0
mprotect(0x2aacc000, 4096, PROT_READ) = 0
mprotect(0x2ac53000, 4096, PROT_READ) = 0
mprotect(0x2aaec000, 4096, PROT_READ) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getpid() = 8119
getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0
rt_sigaction(SIGRT_0, {SIG_DFL, [RT_73 RT_74 RT_83 RT_84 RT_85 RT_89 RT_90
RT_91 RT_92 RT_93 RT_94],
SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aabd60}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {SIG_DFL, [RT_73 RT_74 RT_83 RT_84 RT_85 RT_89 RT_90
RT_91 RT_92 RT_93 RT_94],
SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aabc70}, NULL, 16) = 0
rt_sigaction(SIGRT_2, {SIG_DFL, [RT_73 RT_74 RT_83 RT_84 RT_85 RT_89 RT_90
RT_91 RT_92 RT_93 RT_94],
SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aaae54}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 16) = 0
brk(0) = 0x4bf000
brk(0x4c0000) = 0x4c0000
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid() = 0
brk(0x4c1000) = 0x4c1000
open("/proc/mounts", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7fbd6a78) = -1 ENOTTY (Inappropriate ioctl for
device)
brk(0x4c2000) = 0x4c2000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 4096) = 285
read(3, "", 4096) = 0
close(3) = 0
exit(-1) = ?
Mointpoints:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/part1 on /jffs type ext2 (rw)
Any idea whyt's wrong here? I noticed that a reboot does not umount drives.
Looking at the busybox sources I noticed that default behaviour is to kill
processes, call inittab actions e.g. umount -a -r and then stop.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list