OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Openzaurus 3.5.3 With Unionfs Support
comcute
post Oct 1 2005, 07:04 AM
Post #1





Group: Members
Posts: 14
Joined: 16-January 04
From: Estonia
Member No.: 764



Hello.
I have made some modifications in OpenZaurus with unionfs as a default root filesystem.
mtdblock4 is mounted in rw mode, but in union it's in ro mode (you can change it by altering /media/realroot/sbin/init.unionroot, if you dont' t llike it)
mtdblock6 mounted as /media/ram is on higher level branch in unionfs, so everything you write to / is actually written to /media/ram/packages.

I did not include unionroot-utils, because I didn't like their behaviour, these need some improvements.

If you want to test modified unionroot-utils, then send me PS or e-mail.
If you have programs installed to CF or MMC/SD card, then currently you can use them by adding unionfs branch with command:
CODE
unionctl /. --add /media/cf/packages

or
CODE
unionctl /. --add /media/card/packages

and before unmounting:
CODE
unionctl /. --del /media/cf/packages

or
CODE
unionctl /. --del /media/card/packages


Why unionfs?
Because it's stackable, you can merge the contents of directories, so you don't have to hassle with these symlinks anymore.
One more thing: I can use unionfs to save internal flash from wear levelling (maybe I'm paranoid?)

zImage-collie-40-24-2.4.18-rmk7-pxa3-embedix-r22.bin
opie-image-collie.rootfs-2005-09-30.jffs2 (unionfs-1.0.11)
opie-image-collie.rootfs-2005-10-02.jffs2 (unionfs-1.0.14)
opie-image-collie.rootfs-minifo-2005-10-03.jffs2 (mini_fo-0.6.1)


EDIT: OK, I have tested it for couple of days for now and found it sometimes gives still Oopses sad.gif Here is a demostration:

Attached File  port.19094.png ( 15.58K ) Number of downloads: 55


I have tested unionfs-1.0.14 as well and that didn't work at all, because setattr,delete=first mount flags were removed in that version. After chmod or write or etc working process freezed completely.
So, i think my next try is minifo filesystem.
Go to the top of the page
 
+Quote Post
Mickeyl
post Oct 1 2005, 01:41 PM
Post #2





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



Very interesting. The OZ team is experimenting with unionfs since long but we found it too unstable (oopsing on a lot of operations) yet. Which version of unionfs are you using and what patches did you apply to it?
Go to the top of the page
 
+Quote Post
comcute
post Oct 2 2005, 03:08 AM
Post #3





Group: Members
Posts: 14
Joined: 16-January 04
From: Estonia
Member No.: 764



It's currently unionfs-1.0.11 (vanilla) and yes it isn't really stable, but it works if you use the "correct" (read working) fs parameters or you get oops. For exaple:
If one of the branch is ro mode and you have set delete=all, then it oops;
If one of the branch is ro mode and you have set setattr=all, then it oops;
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 09:24 PM