]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: when use fdisk -l, open device in nonblock mode
authorlishengyu <lishengyu@uniontech.com>
Thu, 30 Dec 2021 12:07:34 +0000 (20:07 +0800)
committerlishengyu <lishengyu@uniontech.com>
Thu, 30 Dec 2021 12:14:59 +0000 (20:14 +0800)
commit74c9dbae073d328f0358628be0dfd2e2f63eaa2b
tree82959b69030c724a06c8b42c3c91f674611f70a8
parent312b64d9d1cedeac8d926cc503ffb4fbe023ade0
fdisk: when use fdisk -l, open device in nonblock mode

When autoclose is set (kernel default) opening a CD-rom
device causes the tray to close.

Signed-off-by: lishengyu <lishengyu@uniontech.com>
disk-utils/fdisk.c