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

Re: Change Pi(rate)box file share directory?

$
0
0
Ah, I see now. Just by the way, expanding your root fs won't hurt :P

Anyways, what you want to do is
0) Maybe stop the piratebox service for this (might be a good idea)
1) Create some folder on the USB
2) Copy everything from
/opt/piratebox/share/Shared
to your newly created folder.
3) Delete/rename/move the original folder located at
/opt/piratebox/share/Shared
4) Assuming your new folder is called
/mnt/usb/Shared
You'll have to create a link. Move to the piratebox folder:
cd /opt/piratebox/share/
and call something like
ln -d /mnt/usb/Shared
or
ln -s /mnt/usb/Shared

I don't have my RPi around right now, so you'll have to fiddle with the ln command, but that should basically do the trick ;-)

Good Luck!

Viewing all articles
Browse latest Browse all 1863

Trending Articles