Open JayBrown opened 6 years ago
The additional -n & -l options would prevent both system cache flush-to-disk and logging of the shutdown event, which might decrease shutdown time by… what? 1 millisecond? ;) Just sayin'.
-n
-l
Users can probably edit this themselves in this line of the script: https://github.com/hephaest0s/usbkill/blob/master/usbkill/usbkill.py#L156
Though I have no idea about the overall effects of halt -qnl on the system, as opposed to just halt -q. Anyone know?
halt -qnl
halt -q
I have added this on my fork of USBKill.
The additional
-n
&-l
options would prevent both system cache flush-to-disk and logging of the shutdown event, which might decrease shutdown time by… what? 1 millisecond? ;) Just sayin'.Users can probably edit this themselves in this line of the script: https://github.com/hephaest0s/usbkill/blob/master/usbkill/usbkill.py#L156
Though I have no idea about the overall effects of
halt -qnl
on the system, as opposed to justhalt -q
. Anyone know?