[Bug 11726] blockdev always returns 0
bugzilla at busybox.net
bugzilla at busybox.net
Sat Mar 30 17:55:46 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=11726
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
Can't reproduce:
busybox blockdev --rereadpt /dev/sda
execve("./busybox", ["./busybox", "blockdev", "--rereadpt", "/dev/sda"],
0x7ffdd1fbf4b8 /* 53 vars */) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
prctl(PR_SET_NAME, "busybox") = 0
getuid32() = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, BLKRRPART) = -1 EBUSY (Device or resource busy)
write(2, "blockdev: /dev/sda: Device or resource busy\n", 44) = 44
exit(1) = ?
+++ exited with 1 +++
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list