DSL Tips and Tricks :: unionfs examples



I agree.
With 64 cloops we can sure have some interesting UCI's
Nice work guys!

WOW, I have just read this uinionfs thread and I think it is very cool what could be done with it.

so. would it be then possible to mount "/" read write?
see this post for why I would want to do this
post

I could maybe then do other cool stuff
like

like mount part of my USB stick as "/"
Code Sample

mount -rw -t vfat /dev/sda1 /mnt/sda1
mount -t unionfs -o dirs=/=ro: /mnt/sda1/dsl/=rw unionfs /


install stuff
Code Sample

apt-get update
apt-get install emacs


Reboot the computer
and remount "/" as above
then run emacs?
like a normal app from the command line...

I see the possibility of a way to install apps without remastering?
and without using .dsl or .uci

so like ALL of debains 40,000 some odd apps are avalible to install, in an easy way...

WARNING : I haven't tried any of the above, I havn't even used the unionfs.dsl yet, and I was not even really aware of unionfs till a little while ago.
I just got all excited about what it could mean?
so..am I way out to lunch, or is something like this possible?
what about problems like ..permissions on vfat? and files that have the same name space?

For how to use unionfs this page is interesting :

http://www.unionfs.org

Inspired by this thread I've made a mydsl.uci containing XFree86.dsl, gtk2-0705.dsl, gkrellm-gtk2-2.2.2.dsl and all my fonts. This extension is merged with /usr and /lib in 2 unions and gives me a gtk2 version of DSL with XFree that boots faster and uses way less ram and swap than with dsl extensions.

With unionctl I can also load / unload my former dsl extensions easily converted into uci.

Thanks a lot for making unionfs available in DSL.

Sounds great spock!
Any chance to have seperate XFree86, Gtk2 uci versions for our repository? Maybe I need to make a new extension definition of say .uuci. Which would indicate that the new extension requires unionfs? With 64 cloops I would like to see a move in this direction.

Quote (roberts @ April 29 2006,12:31)
Maybe I need to make a new extension definition of say .uuci. Which would indicate that the new extension requires unionfs?

Maybe a mkmydsl type script where people but their .dsl files in a directory and it builds a .uuci file containing all the extensions for a customized DSL?

Looks like there are lots of possibilities.

Next Page...
original here.