0

Mounting USB in hifiberryos 20200708

Hi, I've just updated to the latest hifiberryos (20200708) on a raspberry pi 3 with a DAC+ Pro and the streaming quality is superb. And the GUI is very nice also.

One thing I haven't been able to work out yet is how to get the usb feature to work. I have a USB drive with some folders containing MP3s and am not sure how I should be triggering the mount-usb.sh script, whether there is somewhere on the GUI this needs to happen or whether my folders and files on the USB need to be ordered/ named in a certain way. Tunning the script manually from the OS doesn't mount the USB but I can see it with an fdisk -l, attached as /dev/sda, the partition is /dev/sda1. It is a FAT partition:


Device Boot Start End Sectors Size Id Type
/dev/sda1 8064 30240767 30232704 14.4G c W95 FAT32 (LBA)


I had a read of the script and seemed to work out what I needed to do:

# blkid -o udev /dev/sda1
ID_FS_LABEL_FATBOOT=MIXTAPES
ID_FS_LABEL_FATBOOT_ENC=MIXTAPES
ID_FS_LABEL=MIXTAPES
ID_FS_LABEL_ENC=MIXTAPES
ID_FS_UUID=3D80-B361
ID_FS_UUID_ENC=3D80-B361
ID_FS_BLOCK_SIZE=512
ID_FS_TYPE=vfat
ID_FS_PARTUUID=3d2c28a5-01


mkdir -p /data/library/music/MIXTAPES

mount -o rw,relatime,users,gid=100,umask=000,shortname=mixed,utf8=1,flush /dev/sda1 /data/library/music/MIXTAPES

it is mounted:

/dev/sda1 15108112 12366528 2741584 82% /data/library/music/MIXTAPES

But I don't see how to get at it via the GUI, was expecting it somewhere under sources/music, there must be an easier way to do this, I msut be doing something wrong.

 

Any pointers you can give me would be great as there must be a way to get it working as its listed as a new feature in this release

 

Cheers Matt

 

 

3 comments

Please sign in to leave a comment.