[Part 2] Download torrent & newsserver package(s)
|
27th Feb, 2013, 10:17 PM
Post: #46
|
|||
|
|||
RE: [Part 2] Download torrent & newsserver package(s)
(27th Feb, 2013 03:38 AM)kraleksandr Wrote:(27th Feb, 2013 03:36 AM)Styler Wrote:(26th Feb, 2013 12:33 AM)kraleksandr Wrote: @Styler u can mount ur HDDs by UUID. Okay so I did the following (with 1 flashdrive plugged into the RPi): Terminal xbian@xbian ~ $ ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 15 Jan 1 1970 29b6c2f5-5469-49f2-abd5-daa9149021cc -> ../../mmcblk0p2 lrwxrwxrwx 1 root root 10 Feb 27 11:36 769B-0DEF -> ../../sda1 lrwxrwxrwx 1 root root 15 Jan 1 1970 8B12-9112 -> ../../mmcblk0p1 xbian@xbian ~ $ Is the UUID of my flash drive 769B-0DEF? I then did this: Terminal xbian@xbian ~ $ cat /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 /var/swapfile swap swap defaults 0 0 xbian@xbian ~ $ Should I just edit this in nano (sudo nano /etc/fstab) to add the line: Terminal UUID=769B-0DEF /media/usb0 vfat defaults,noatime 0 0 If this is correct, would I then issue the following commands to always download files to that particular flashdrive? Terminal mv /home/xbian/downloads /media/usb0 mv /home/xbian/incomplete /media/usb0 mv /home/xbian/torrents /media/usb0 ln -s /media/usb0/downloads /home/xbian/downloads ln -s /media/usb0/incomplete /home/xbian/incomplete ln -s /media/usb0/torrents /home/xbian/torrents I assume other harddrives/flashdrives need to get added to fstab as usb1, usb2... etc? |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[Part 3] Download torrent & newsserver packages | Fred | 221 | 885,674 |
18th Mar, 2016 03:00 PM Last Post: akitolong |
|
Download Package not installing | naverave | 3 | 13,872 |
16th Mar, 2014 07:56 PM Last Post: mk01 |
|
download package setup | pathia | 5 | 18,844 |
28th Sep, 2013 12:00 AM Last Post: Gemma01 |
|
Download package | enzu1 | 1 | 9,124 |
4th Feb, 2013 10:35 PM Last Post: CurlyMo |