http://bugs.winehq.org/show_bug.cgi?id=32748
Bug #: 32748 Summary: A nested fstab bind bug Product: Wine Version: 1.5.20 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sprog@online.ru Classification: Unclassified
1. Create folder /storage/md400 on your root partition (In my case md400 is md4 device fstab: /dev/md4 on /storage/md400)
2. Create folder /home/test/folder
3. Add to fstab:
/storage/md400 /home/test/folder none rw,bind 0 0
#mount -a
now folder /home/test/folder is the same as /storage/md400
4. Create folder /www/www_folder on your root partition:
5. Create folder /home/test/folder/www_folder/
6. Add to fstab: /www/www_folder /home/test/folder/www_folder/ none rw,bind 0 0
#mount -a
7. Create a file foo.txt in /home/test/folder/www_folder/
#ls -l /home/test/folder/www_folder/ will show foo.txt
8. Add a virtual disk in Wine pointing to /home/test/folder/ (say disk G:)
9. cmd to G:/www_folder dir will reveal nothing, no foo.txt exists though if you go to z:/www/www_folder - file foo.txt is visible