]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: open device in nonblock mode
authorchanglianzhi <changlianzhi@uniontech.com>
Thu, 16 Dec 2021 02:56:25 +0000 (10:56 +0800)
committerchanglianzhi <changlianzhi@uniontech.com>
Thu, 16 Dec 2021 03:00:24 +0000 (11:00 +0800)
commit38401453c522a7bf099c4e5a41056310dcd635b8
tree529841d219b5b03e8eeb14650853a10b3de4e377
parent312b64d9d1cedeac8d926cc503ffb4fbe023ade0
fdisk: open device in nonblock mode

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

Signed-off-by: changlianzhi <changlianzhi@uniontech.com>
disk-utils/fdisk-list.c
lib/ismounted.c