Bekijk de volledige versie : 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?
Hi Kenny,
you can control this in fstab (/etc/fstab)
See the example below:
#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
hi, this is my fstab:
#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
if both devices are always plugged in your system, and hdd is always detected first, why not use for the flash:
/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
thank you very much, it works! :)