@Scott,

>> int k = open("/dev/sda", O_WRONLY);
>> close(k);
>That actually has quite a few side-effects that you might not
>realise ;-)

It might be good then to warn people not to run "parted --list" to view
partition tables.   That seems to open all your devices with O_WRONLY.

-- 
SSD stall during boot
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to