Charles P. Wright schrieb:
Branches are accessed left to right, so I think you want:
/progfs/unionfs/opt=rw:/opt=ro
You should flip the branches around like Jeff suggested.
After you do that, when Unionfs first looks for a file, it will always
access the rw branch first to check if the file exists. After the first
access to the file, Unionfs caches where the file was found and will not
access the rw branch first.
If I specify the branches with the ro-directory first, will changes of
existing files be ignored because a file with the same name was already
found in the ro-branch?
And what happens if I remove the rw-directory from the union using
unionctl? I am encountering problems in a different place now (harddisk
spins down, first problem solved). When the media-player connects to a
computer via USB, the local harddisks must be umounted in order for the
USB controller to take over. Instead of umounting the unionfs, I simply
remove the harddisk directories from the unions and umount the harddisk
afterwards. Currently, I have eight unionfs and notice crashes and
strange behaviour when I remove those eight harddisk directories from
their respective unions...
The version of unionfs seems to be 1.0.14 but I didn't compile it
myself. The binary package I got also specifies February 6th, 2006 as a
date, if that is important.
Thanks a lot,
Philipp.
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs