rpodgorny / unionfs-fuse

union filesystem using fuse
Other
309 stars 76 forks source link

Error when using chroot option #8

Open rpodgorny opened 9 years ago

rpodgorny commented 9 years ago

taken from mail (6079.winston.smith@gmail.com):

Hello,

I've got a look file system mounted on /mnt/guest.

When I'm trying to do

$ unionfs -s -o dev,suid -o cow -o use_ino,readdir_ino,noauto_cache,entry_timeout=0,negative_timeout=0,attr_timeout=0 -o chroot=/mnt/union /mnt/guest=RW:/=RO /mnt/union

I get

"Failed to open /mnt/union/mnt/guest/: No such file or directory. Aborting!"

What am I doing wrong? Is it a wrong chroot argument?

Regards,
Winston
Beace commented 2 years ago

I have the same problem.

unionfs -o cow,max_files=32768 -o allow_other,use_ino,suid,dev  \
/var/root/.npminstall/rapid-mode/repo_17c505e6f94d9e9348b3470f207c0962/root_d41d8cd98f00b204e9800998ecf8427e/overlay/upper=RW:/var/root/.npminstall/rapid-mode/mnt/repo_17c505e6f94d9e9348b3470f207c0962/root_d41d8cd98f00b204e9800998ecf8427e=RO /private/var/root/repo/node_modules

I get

Failed to open /var/root/.npminstall/rapid-mode/mnt/repo_17c505e6f94d9e9348b3470f207c0962/root_d41d8cd98f00b204e9800998ecf8427e/: No such file or directory. Aborting!

image