start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[bug]: USB devices using whole disk filesystems are not detected as a backup target

Open gStart9 opened this issue 3 years ago • 2 comments

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

  1. Insert USB device
  2. Delete all partitions
  3. Create & Mount filesystem

sudo mkfs.exfat /dev/sdb sudo mkdir -p /mnt/test && sudo mount /dev/sdb /mnt/test

  1. Note that the filesystem is mounted without issue

sudo umount /dev/sdb

  1. Eject the USB disk
  2. Insert USB disk into the Embassy
  3. Go to Embassy -> Create Backup
  4. 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.

gStart9 avatar Jun 02 '22 21:06 gStart9

this is a very non-standard way to format a drive. the maintenance overhead is probably not worth it

dr-bonez avatar Jun 21 '22 19:06 dr-bonez

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.

kn0wmad avatar Jun 21 '22 20:06 kn0wmad