Hi Daniele,
test1)
# sshfs [EMAIL PROTECTED]: /initrd/fuse
This will never work. Your union has already been composed of the
original /initrd/fuse (before you mounted sshfs) which was presumably
an empty directory. Running sshfs covers the original /initrd/fuse
but it is too late --- unionfs has its hands on the original and won't
let go. (This is the same as what you'll get if you cd somewhere, and
then mount something over the place you are cd'd into. You still see
the old directory because cwd, like a component of a union, is
fundamentally an inode, not a symbolic name.)
# unionctl / --remove /initrd/fuse
# sshfs [EMAIL PROTECTED]: /initrd/fuse
# unionctl / --add --before /initrd/cow /initrd/fuse
I am no unionfs wizard, but I would have expected the above to work.
Can you send the output of this:
# unionctl / --remove /initrd/fuse
# sshfs [EMAIL PROTECTED]: /initrd/fuse
# ls /initrd/fuse
# unionctl / --add --before /initrd/cow /initrd/fuse
Obviously, if there is some problem accessing the sshfs, then you will
see hanging. (Sorry if this is a silly/obvious suggestion).
-Ken
On 5/26/06, daniele favara <[EMAIL PROTECTED]> wrote:
hi all,
i'm playing with unionfs and fuse.
livecd (/proc/mounts):
/unionfs / unionfs
rw,dirs=/initrd/cow=rw:/initrd/fuse=ro:/initrd/rofs=ro,debug=0,delete=all,copyup=preserve
0 0
from within the initramfs root is the unionfs mount point , before
changing root i move all the directories in /uinonfs/ to root/initrd/.
after i logged in:
# :> /initrd/fuse/file
# ls /
file ...
with fuse is totally different.
=======
test1)
# sshfs [EMAIL PROTECTED]: /initrd/fuse
i'd expect (if not hope :) ) to see in / the file i have in
/initrd/fuse, but that doesn't happen.
=======
test2)
# unionctl / --remove /initrd/fuse
# sshfs [EMAIL PROTECTED]: /initrd/fuse
# unionctl / --add --before /initrd/cow /initrd/fuse
and then here it just freezes.
these are two really simple tests, but .. first of all i'd like to know :
may it works somehow or it's not supported by unionfs?
if not supported any plan for it ?
let me know if you'll need more infos or if i didn't explain the issue
as i should
thanks
ciao
df
--
----
http://dsslive.org
----
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs