Log in

Bekijk de volledige versie : Delay mounting USB device



apinto
09-04-2008, 23:50
Hi there!

This is my first post and I would like to thank you all for the brilliant contents!

My Asus router has a 4GB pen in the upper USB port with several partitions (/opt, /mnt and swap). The problem is that after I boot the router, sometimes these partitions don't show up immediately... And the consequence is that everything that is located there (transmission, squid, scripts, etc.) doesn't run.

Is there any clever solution for this? Thank you a lot in advance,

AP

raas
10-04-2008, 07:09
have you tried to connect the pen to the lower usb-port?
in my experience this port get's accessed first.

also.
which firmware do you use? and show us your post-boot script.

apinto
10-04-2008, 11:46
Hi there again,

I managed to identify the problem: my /opt/etc/init.d scripts weren't being loaded! (duh!) Also, I inserted a for/sleep cycle in the post-boot script, which waiting until /opt/etc shows up. Following raas advice, I moved the pen drive to the lower USB port. Thanks,

AP