Adding files to Mounted USB Drive

Raspberry Pi related support

Adding files to Mounted USB Drive

Postby Vatternish » 28 Feb 2016, 16:51

Hi all,

I'm trying to add new music to my usb drive without having to remove it from my nice amplifier box that I have everything housed in. I've searched the file structure of the Raspberry pi with Winscp but I can,t see the usb hardrive. Is it possible to see and search the drive while its mounted so that I can transfer new music? Where would the USB drive be on the Pi file structure?

Im using a Raspberry Pi with Digiamp and RuneAudio.

Thanks in anticipation
Vatternish
 
Posts: 4
Joined: 09 Jan 2016, 19:19

Re: Adding files to Mounted USB Drive

Postby hondagx35 » 28 Feb 2016, 23:55

Hi Vatternish,

it is /mnt/MPD/USB.

The USB drives are mounted read only, so you have to change this.
Please search the forum for this subject.

Frank
User avatar
hondagx35
 
Posts: 3041
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Adding files to Mounted USB Drive

Postby Vatternish » 29 Feb 2016, 21:08

Thanks Frank, I will do a search.

Paul
Vatternish
 
Posts: 4
Joined: 09 Jan 2016, 19:19

Re: Adding files to Mounted USB Drive

Postby Grundgütiger » 02 Mar 2016, 19:30

As I am interested in this too, I did a search and found this:

...you need to change Samba permissions, by default the USB mount is read only. To change it, you need to modify /etc/udevil/udevil.conf. Find default_options_vfat and default_options_exfat and change ro to rw.
Grundgütiger
 

Re: Adding files to Mounted USB Drive

Postby dunghnguyen » 26 Mar 2016, 16:41

This is the link viewtopic.php?t=2869
dunghnguyen
 
Posts: 228
Joined: 08 Mar 2016, 07:48

Re: Adding files to Mounted USB Drive

Postby Grundgütiger » 26 Mar 2016, 17:44

Good this came up again. :)

Only today I tried this as I wanted to add some music to the USB drive. I switched on the dev-mode (which I forgot to mention in my above answer) and changed the settings in the udevil.conf file to rw. Mounting the Raspberry with the Mac's Finder still doesn't let me access the USB drive because I don't have the rights doing so. Pathfinder (another Finder app) shows I have all the rights to do everything.

Thanks for any help!
Grundgütiger
 

Re: Adding files to Mounted USB Drive

Postby dunghnguyen » 26 Mar 2016, 17:49

I tried the instruction from @hondagx35 successfully. Note the type of format should be taken attention (vfat, exfat,...) to know by using the command blkid ... am I right? ... I am learning :)
dunghnguyen
 
Posts: 228
Joined: 08 Mar 2016, 07:48

Re: Adding files to Mounted USB Drive

Postby Grundgütiger » 26 Mar 2016, 17:59

I know. My USB drive is vfat format. Right now I have switched all file formats to rw in the udevil.conf file. 8-)
Grundgütiger
 

Re: Adding files to Mounted USB Drive

Postby PeteB » 26 Mar 2016, 18:34

So, just to be certain, after changing ro to rw, your udevil.conf looks like this?

By default permissions are set to read-only, so copying or attempting drag and drop to external storage will fail. To copy files to a USB drive, the default permission has to be changed first, from ro (read-only) to rw(read-write) in /etc/udevil/udevil.conf. Example (line 219-221):

default_options_vfat = rw, iocharset=utf8, noatime, uid=$UID, gid=$GID
default_options_exfat = rw, nonempty, uid=$UID, gid=$GID
default_options_hfsplus = rw, uid=$UID, gid=$GID
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: Adding files to Mounted USB Drive

Postby Grundgütiger » 26 Mar 2016, 19:29

Yupp:

default_options_vfat = rw, iocharset=utf8, noatime, uid=$UID, gid=$GID
default_options_exfat = rw, nonempty, uid=$UID, gid=$GID
default_options_hfsplus = rw, uid=$UID, gid=$GID
Grundgütiger
 

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests