[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on the Sharp Zaurus/SL-5xxx



On Tue, Jun 18, 2002 at 09:31:52AM -0500, The Doctor What wrote:

> I wonder if it would be worthwhile to impliment a simple FS that does
> nothing but have either directories or links in it, using some (text?)
> control file to determine where links point to.
>
> You could then alter the control file to update symlinks, and then the
> whole /usr/local mount could be this symlinkfs, with links pointing to
> either the sd/mmc or cf drives.  It could then be adjusted on the fly when
> an sd/mmc or cf is changed.

You may be interested in 'stow'; I believe it's packaged.

For the Zaurus, I'm considering a system which will maintain symlinks within
normal dpkg space, and handle moving existing data out to the symlink
destinations and creating any intermediate directories.  It would be run via
a hook from apt when packages are installed or removed, and read a config
file specifying directories and whether they should be kept on CF or SD.

Eventually, it would be nice to enable it to recognize media, so that it
could be smart about storing particular applications on particular media,
and prompt you for the appropriate one when necessary.  This isn't useful,
though, unless we could hook into dpkg, since dpkg could be working on many
different packages in a single invocation.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: