start-os
start-os copied to clipboard
[bug]: USB devices using whole disk filesystems are not detected as a backup target
Prerequisites
- [X] I have searched for existing issues that already report this problem, without success.
EmbassyOS Version
0.3.0~3
Device
Laptop/Desktop
Device OS
Linux
Device OS Version
Debian
Browser
Firefox
Browser Version
91.9.1esr
Current Behavior
Insert USB.
Embassy -> Create Backup
USB device is not detected no matter how many times it is replugged & Refresh clicked.
Expected Behavior
Insert USB.
Embassy -> Create Backup
USB storage device is detected.
Steps to Reproduce
- Insert USB device
- Delete all partitions
- Create & Mount filesystem
sudo mkfs.exfat /dev/sdb sudo mkdir -p /mnt/test && sudo mount /dev/sdb /mnt/test
- Note that the filesystem is mounted without issue
sudo umount /dev/sdb
- Eject the USB disk
- Insert USB disk into the Embassy
- Go to Embassy -> Create Backup
- Refresh & replug as many times as you like, it will never show up.
Anything else?
Unsure if people should spend a lot of resources making a fix for this. Most formatting/partitioning tools will create a partition and /dev/sdb1 will be created & mounted, which the Embassy can see just fine.
this is a very non-standard way to format a drive. the maintenance overhead is probably not worth it
this is a very non-standard way to format a drive. the maintenance overhead is probably not worth it
Is this really the case? I would think it would be quite normal to format (specifically) an external disk with a fs that occupies the entire disk, since it is likely being used simply to store data. I'm not sure if partitions (e.g. sdb1) are automatically created by a typical formatting GUI or not.