On Fri, 2009-01-30 at 16:11 -0500, Jose Vasconcellos wrote: > As discussed in an earlier thread: > http://lists.openwrt.org/pipermail/openwrt-devel/2009-January/003558.html > the handling of external storage devices has changed in the trunk > (svn r14829). The result of this change is that files are now found in a > subdirectory of /mnt. This may require some changes to custom scripts. > > The main feedback I received was to use /media instead of /mnt for > compatibility with linux standards. While I was tempted to include that in > this patch, I've decided to wait and put package maintainers on notice of > the upcoming change. I will not make such a change for at least three > weeks to fully understand the ramifications and to coordinate with others.
I would really like to see this effort extended to handle a rootfs on an external device. I have posted a patch here which is based on another's to do just that in mount_root. I am further extending that in fact to also kexec a kernel found in the external rootfs at /, if it exists. I will be testing the functionality of that code this weekend. The result of such work will be that you _never_ need to flash again, if you use an external rootfs. The entire personality of device could be changed simply by plugging in a different external device (i.e. usb key for example) before you boot it. I'm drooling... :-) I am always so reluctant to flash my router because of the "unknown" and the unknown that comes with flashing back to a previous version, etc. Now that "unknown" is limited to plugging in a new usb device and should I find something about it I don't like, rolling back is extremely simple. I just swap the usb key back to the previous one and reboot. Did I mention I was drooling? :-) b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
