Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: unionfs help corner, Let's talk about it a bit.< Next Oldest | Next Newest >
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 05 2006,07:34 QUOTE

Ok. I've read some information about unionfs.
But some open questions still remain.

Creating a tmpfs partition and merging it with another partition that already exist and contains files:
Ok. I have a tmpfs mount mounted to /tmpbin and also a root mount (mounted to / ofcourse) formatted to... let's say reiserfs (doesn't really matter what format).
Now I want that my /bin directory could be writeable but not permanently.
So I decide to mount /tmpbin over /bin using unionfs.

I wonder if it is possible?
Code Sample
mount -t unionfs -o dirs=/tmpbin=rw:/bin=ro unionfs /bin

Ok. Let's assume it worked just fine.
What if I delete a file that was originally on /bin? Does some special file on /tmpbin tell that the file is deleted (until reboot)? More simplier: How does my system know that the file is deleted while it still exists in ro area physically but invisible to system.

I'll be posting more questions later and also some anvers if I happen to find them.

Any urls refering to basic unionfs quide are very velcome.  :)


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 11 2006,14:28 QUOTE

Quote
Unionfs is a stackable filesystem, allowing you to "merge" several different filesystems together.


Ok. So it seems that unionfs is not actually a filesystem (?). I is just a mount that combines different filesystems together.


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
dmizzel Offline





Group: Members
Posts: 112
Joined: April 2005
Posted: Sep. 12 2006,00:12 QUOTE

This link is for unionfs as it is used in mac osx. I found it informative in a general overview sort of way. I don't know if it applies, or is what you're looking for.

http://rentzsch.com/macosx/unionFilesystems
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 18 2006,14:36 QUOTE

Thanks. That document has few intresting points. =)

--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 18 2006,14:47 QUOTE

Quote
In FreeBSD/NetBSD, deleting a file in the base system should not really delete this file, but rather add a 'whiteout' file to the overlay. If the file system of the overlay does not support whiteout files, deleting files in the base system should not be possible at all.

Ok. Then I'll like to know what filesystems support these whiteout files?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
5 replies since Sep. 05 2006,07:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: unionfs help corner

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code