Dnia poniedziaĆek, 27 lutego 2006 00:41, Josef Sipek napisaĆ(a): > On Sun, Feb 26, 2006 at 01:18:06AM +0100, Marcin Prejsnar wrote: > > Helo, > > I can't use reiserfs filesystem mounted read-only as branch of union. > > When I use iso9660 or ext2 filesystem as this branch, everything is OK. > > > > I do something like that: > > > > mount /dev/hda3 /mnt/readonly -t reiserfs -o ro > > mount tmpfs /mnt/tmpfs -t tmpfs > > mount unionfs /mnt/union -o rw,dirs=/mnt/tmpfs=rw,/mnt/readonly=ro > > > > then test: > > touch /mnt/union/new_file > > touch: cannot touch `/mnt/union/new_file': Read-only file system > > What does `mount` say? Does it correctly list the unionfs mount? >
Yes. Look at this test. I used normal file loop-mounted. See attached script. Here are some results: ---------------------------------------- tmpfs on /un/write type tmpfs (rw) /un/testfs on /un/rdonly type reiserfs (ro,loop=/dev/loop1) unionfs on /un/union type unionfs (rw,dirs=/un/write=rw:/un/rdonly=ro) touch: cannot touch `/un/union/new_file': Read-only file system ---------------------------------------- tmpfs on /un/write type tmpfs (rw) /un/testfs on /un/rdonly type xfs (ro,loop=/dev/loop1) unionfs on /un/union type unionfs (rw,dirs=/un/write=rw:/un/rdonly=ro) touch: cannot touch `/un/union/new_file': Read-only file system ---------------------------------------- tmpfs on /un/write type tmpfs (rw) /un/testfs on /un/rdonly type ext2 (ro,loop=/dev/loop1) unionfs on /un/union type unionfs (rw,dirs=/un/write=rw:/un/rdonly=ro) ls /un/union lost+found new_file ---------------------------------------- tmpfs on /un/write type tmpfs (rw) /un/testfs on /un/rdonly type ext3 (ro,loop=/dev/loop1) unionfs on /un/union type unionfs (rw,dirs=/un/write=rw:/un/rdonly=ro) ls /un/union lost+found new_file ---------------------------------------- > > I use unionfs-1.1.1. > > Can you help me? > > You should try to use the latest 1.1 release or CVS. How to get the CVS access (readonly)? -- __________________ | Pozdrawiam | Marcin Prejsnar
sk.sh
Description: application/shellscript
_______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
