Results 1 to 5 of 5

Thread: USB disk mount order

  1. #1

    USB disk mount order

    Hello, i've got an usb pendrive and an external hd for storage, both attached to the asus. The pendrive has all the system stuff and should be mounted before the external hd, but when i reboot the router, it mounts the hd first and then the pendrive, so i cannot access to my apps and services. Is there a way to fix this?

  2. #2
    Hi Kenny,

    you can control this in fstab (/etc/fstab)
    See the example below:

    Code:
    #device                 Mountpoint      FStype  Options         Dump    Pass#
    /dev/discs/disc0/part1  none            swap    sw              0       0
    /dev/discs/disc0/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disc0/part3  /mnt		ext3    rw,noatime      1       1
    as for the 'initializing' -order.
    In my experience the bottom-usb-port is accessed first (/dev/discs/disc0), then, the upper-usb-porst is access last (/dev/discs/disc1)

    HTH

  3. #3
    hi, this is my fstab:
    Code:
    #device                 Mountpoint      FStype  Options         Dump    Pass#
    /dev/discs/disc0/part1  none            swap    sw              0       0
    /dev/discs/disc0/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disc0/part3  /tmp/harddisk   ext3    rw,noatime      1       1
    I've tried switching usb ports, no luck

  4. #4
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    if both devices are always plugged in your system, and hdd is always detected first, why not use for the flash:
    PHP Code:
    /dev/discs/disc1/part1  none            swap    sw              0       0
    /dev/discs/disc1/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disc1/part3  /tmp/harddisk   ext3    rw,noatime      1       1 

  5. #5
    thank you very much, it works!

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. Проблема: USB 1.1 устройства через USB 2.0 хаб
    By Rambalac in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 30
    Last Post: 15-09-2009, 12:00
  3. Replies: 0
    Last Post: 29-02-2008, 19:21
  4. 7.09 + USB + hotplug
    By oilinki in forum WL-700g Q&A
    Replies: 0
    Last Post: 18-11-2007, 12:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •