28.03.2024, 16:54 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
älteste bekannte Version dieser Seite wurde bearbeitet am 2006-03-14 12:48:38 von stephan.r [ ]

Back to English Page
Back to German Page?

:rot:Union file system unionro unionrw::rot:

from bfree's post

in Kanotix Kanotix 2005-03 ist unionfs m.E. standardmäßig eingestellt und bedeutet:
man kann zB mkdir /usr/ganzneu anlegen, weil die CD qasi beschreibbar ist (flüchtig in ramdisk). man kann auch ein paar MB auf einer Platte dazumounten (s.u.) dann erscheint sie mit im root-filesystem.


As of now it appears the following cheatcodes will appear in Kanotix 2005-02:

union* layers up to 3 different unionfs systems on top of your Kanotix disc image. They are applied in the order unionro, unionrw and finally unionfs.

unionfs takes no arguments and is simply used to make a temporary union device in ramdisk which will be lost on reboot.

unionrw allows you to add a writable union as does unionfs. Usage is unionrw=/mnt/hda4?/ext2?.loop for loopback files, and unionrw=/mnt/hda4? or unionrw=/mnt/hda4?/union will allow you to use a full partition or folder.

:achtung: (BEWARE: the mounting-points /mnt/XXX have changed to /media/XXX since Kanotix 2005-04)

unionro is a read-only union which you can use to extend your system without allowing any changes to take place (without remounting rw). Usage is as unionrw.


thanks bfree
example: I want to add a program and test it from the live CD but save nothing.
1) Boot with the cheat code . . . . unionfs
2) Get root privilage . . . . . . . . . . su
3) Udate apt-get . . . . . . . . . . . . . apt-get update
4) Add a program . . . . . . . . . . . . apt-get install kworldclock
You may run kpackage to see installed and new programs.

example: I want to make a union file with addition programs to add to the live CD.
1) Make an empty file . . . . . . . . . dd if=/dev/zero of=myunion-image count=1M
2) Format the file. . . . . . . . . . . . . mkfs.ext3? myunion-image
3) Boot with a cheat code . . . . . . unionrw=/mnt/hda5?/myunion-image
4) Update apt-get . . . . . . . . . . . . apt-get update
5) Add a program . . . . . . . . . . . . apt-get install kworldclock
6) Boot with a cheat code . . . . . . unionrw=/mnt/hda5?/myunion-image
. . . or if you wish read only . . . . . unionro=/mnt/cdrom1?/myunion-image
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.