Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: USB storage, How on current image (8/6/14)

$
0
0
Hi ,
Got it working. I was using the ln -s command wrong (as I said I am no linux guru). Here is my setup - note I only store files the user uploads to piratebox on the usb stick (not forum and chat data):

The /etc/fstab file has an entry like:

UUID=xxxx-xxxx /mnt/usbdrive vfat user,exec,uid=0,gid=0,rw,umask=000 0 0

Then in /opt/piratebox/share I linked Shared to /mnt/usbdrive with the command

ln -s /opt/piratebox/share/Shared /mnt/usbdrive

I moved the original Shared folder first so as to have a backup and then I copied all the .txt files into my new Shared folder (i.e. my usb drive)/

Hope this helps someone,
john

Viewing all articles
Browse latest Browse all 1863

Trending Articles