mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Allow any disk including SATA disks to be ejected. Helps: #1597. Tests performed: - Attach SATA disk to VirtualBox. Create two partitions and filesystem in it. FreedomBox will auto-mount the filesystems. Eject button is shown on both the partitions. Without the patch, this is not shown. - Eject button is not shown against '/' as it is part of fstab. - Add a device into /etc/fstab. Eject button will not be shown against the device. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>