USB storage, again. May 17, 2014 05:17AM |
Registered: 10 years ago Posts: 4 |
Re: USB storage, again. May 18, 2014 08:43PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: USB storage, again. May 19, 2014 08:49AM |
Registered: 10 years ago Posts: 4 |
pi@raspberrypi ~ $ mount /dev/root on / type ext4 (rw,noatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=216132k,nr_inodes=54033,mode=755) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=44880k,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=89740k) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
The 2nd one does nothing.
pi@raspberrypi ~ $ ls -l /opt/piratebox total 36 drwxr-xr-x 3 root root 4096 Feb 9 11:09 bin drwxr-xr-x 3 root root 4096 Feb 9 06:39 conf drwxr-xr-x 2 root root 4096 Jun 7 2013 init.d drwxr-xr-x 2 root root 4096 Feb 9 03:43 python_lib drwxr-xr-x 5 nobody nogroup 4096 Feb 9 03:43 share drwxr-xr-x 2 root root 4096 Jun 7 2013 src drwxr-xr-x 2 nobody nogroup 4096 Feb 9 12:30 tmp -rw-r--r-- 1 root root 18 Jun 7 2013 version drwxr-xr-x 4 nobody nogroup 4096 Feb 9 05:52 www
pi@raspberrypi ~ $ ls -l /opt/piratebox/share total 20 drwxr-xr-x 2 nobody nogroup 4096 Feb 9 03:43 board -rwxr-xr-x 1 root root 4318 Feb 9 03:43 index.html drwxr-xr-x 2 nobody nogroup 4096 Feb 9 12:20 Shared drwxr-xr-x 2 nobody nogroup 4096 Feb 9 03:43 tmp
pi@raspberrypi ~ $ ls -l /opt/piratebox/www total 180 lrwxrwxrwx 1 root root 26 Feb 9 03:43 board -> /opt/piratebox/share/board drwxr-xr-x 2 nobody nogroup 4096 Jun 7 2013 cgi-bin -rw-r--r-- 1 nobody nogroup 637 Feb 9 12:30 chat_content.html -rwxr-xr-x 1 nobody nogroup 1518 Jun 7 2013 chat.html -rwxr-xr-x 1 nobody nogroup 1406 Jun 7 2013 favicon.ico -rw-r--r-- 1 nobody nogroup 0 Feb 9 03:43 forban_link.html -rwxr-xr-x 1 nobody nogroup 172 Jun 7 2013 forum.html -rwxr-xr-x 1 nobody nogroup 4323 Feb 9 05:33 index.html -rw-r--r-- 1 nobody nogroup 94840 Jun 7 2013 jquery.min.js drwxr-xr-x 3 nobody nogroup 4096 Jun 7 2013 library -rw-r--r-- 1 nobody nogroup 15 Jun 7 2013 ncsi.txt -rwxr-xr-x 1 nobody nogroup 16453 Jun 7 2013 piratebox-logo.png -rwxr-xr-x 1 nobody nogroup 12637 Jun 7 2013 piratebox-logo-small.png -rwxr-xr-x 1 nobody nogroup 201 Jun 7 2013 redirect.html lrwxrwxrwx 1 root root 16 Feb 9 05:52 shared -> /media/PIRATEBOX lrwxrwxrwx 1 root root 27 Feb 9 03:43 Shared -> /opt/piratebox/share/Shared -rw-r--r-- 1 nobody nogroup 122 Feb 9 12:32 station_cnt.txt -rwxr-xr-x 1 nobody nogroup 298 Jun 7 2013 style.css
sudo /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf station_cntEvery time I want it to update once.
Re: USB storage, again. May 19, 2014 11:53AM |
Admin Registered: 13 years ago Posts: 4,680 |
rm /opt/piratebox/www/shared #remove the false link mkdir /media/PIRATEBOX/PirateBox mv -v /opt/piratebox/share /media/PIRATEBOX/PirateBox/ ln -s /media/PIRATEBOX/PirateBox/share /opt/piratebox/share
Re: USB storage, again. May 20, 2014 09:05AM |
Registered: 10 years ago Posts: 4 |
Re: USB storage, again. May 20, 2014 12:27PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: USB storage, again. May 22, 2014 08:03AM |
Registered: 10 years ago Posts: 4 |