> Is there a clean way of using the microdrive instead of flash from now on?
> If so, what is the current best practice of which files/directories go
> there, and the best place and time to mount it in the booting process?
This is sort of a general problem in Unix-land -- what do you do when one
partition or disk is filling up and you want to supplement, rather than
replace it.
One answer is to copy over what's currently in /usr (tar cf - /usr | (cd
/mnt/microdrive; tar xpf -)), and afterward mount your microdrive at /usr
instead; once you're sure this works, you can unmount the microdrive long
enough to erase the old /usr, freeing up the flash for other purposes. This
scheme will get /usr and /usr/local out of the built-in flash, and require
no change whatsoever to programs that really want to live in /usr.
Another answer, if that makes you nervous, is to make your microdrive
/usr/local or /opt, and build what you want to install to know that that it
lives there, rather than / or /usr (./configure --prefix=/opt works for a
very wide variety of packages). Pre-built ipkg packages can also be
installed there (ipkg can install to a different root), but some may have to
have pieces symlinked into /usr or /etc, depending on what their assumptions
are.
/m
Received on Mon Aug 13 2001 - 10:56:58 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:32 EDT