heads/initrd/etc
Matt DeVillier ba4fcefcea
usb-scan/mount: Improve USB handling
Currently, /media is mounted once per boot, which causes issues
if a user need to change USB sticks, or unknowning performs an
operation that mounts /media and then needs to access a different
USB stick later (eg, updating the firmware).

To mitigate this, always unmount /media if mounted before scanning
for USB devices, so the user can choose the correct device at the
time of its use.

Additionally, add a unique exit code for user abort so we're not
treating it the same as a failure, and use it to prevent unnecessary
GUI prompts when cancelling selection of a USB device.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2020-07-21 09:46:59 -05:00
..
distro/keys initrd: update distro keys 2020-01-16 09:33:41 -08:00
fstab fix typos in efivarfs 2018-02-08 17:25:32 -05:00
functions functions: check both grub/grub2 dirs for boot files 2019-11-18 11:33:25 -06:00
group Build the Heads/NERF firmware for the Dell R630 server. 2017-09-20 10:29:14 -04:00
gui_functions usb-scan/mount: Improve USB handling 2020-07-21 09:46:59 -05:00
hosts localhost should be defined 2018-02-09 12:05:49 -05:00
motd restore /etc/motd 2018-03-08 01:14:41 -05:00
mtab add /etc/fstab and /etc/mtab to initrd image 2017-04-10 12:59:24 -04:00
passwd enable qemu networking and ssh key login (#312) 2018-02-09 13:42:52 -05:00
shells Build the Heads/NERF firmware for the Dell R630 server. 2017-09-20 10:29:14 -04:00