Hi Kunal, Remove storage devices are automagically mounted by a script, /sbin/usbstorage, via hotplug when a device is plugged in. I didn't test the change you're proposing on a real device with USB support, but I guess automounting with "mount -a" and having /sbin/usbstorage run aside will conflict at some point. A better option would be to let /sbin/usbstorage be aware of mountpoints defined in /etc/fstab.
I know an enhanced automounter is on its way, I'll try to get more infos and keep you posted. Regards, -- Nico Kunal Punjabi wrote: > > We just ported our platform over to OpenWRT and have it running. > > I found that temporary storage devices like USB do not get mounted > when the OpenWRT router is rebooted, although the drives were properly > mounted prior to the reboot. This seems to happen because usbfs is > invoked after fstab does a "mount -a", in effect the mount point isn't > found. The fix for this would be to move S20fstab later on in the > initialization sequence..after S39usb. That would make sure the mount > -a gets executed after S39, and not before or even in it. > > > > Is such a reorder acceptable, i.e. can I move S20fstab **after** > S39USB? Is it likely to be accepted when we push our changes upstream > (to the openwrt sources)? Or was OpenWRT designed to NOT automatically > mount non-persistent storages like usb on reboot? > > > > Thanks > > Kunal > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel