Hi, I'm one of the lead developers of the Puppy Linux project. I've just gone over to using Aufs from Unionfs, and using CVS 20061125, with the compatibility turned on, so the directory opaque files are named '.wh.__dir_opaque' -- which I have done as have scripts that directly delete these files at bootup before the aufs is mounted, and I have not yet modified them for the new whiteout filename.
When boot from usb Flash, the top layer is a tmpfs, next down is a file with ext2 f.s. in it mounted by loop device. We flush the top layer (branch) down to the save layer periodically, which is a mechanism to minimise writes to Flash drive. I'm using 'udba=reval' but I can't do a true flushing, in some cases can onl copy files down to the "save" layer. The two exceptions that prevent flushing are: 1. hidden directory. If I copy a file down to "save" layer then delete it on tmpfs layer, Aufs does not recognise this if there is a hidden directory in the path. 2. New directory. This has been our curse for so long, the creation of .wh.__dir_opaque files when a new directory is created. I know it is a POSIX standard, but in Puppy it is just a headache and in the case of booting from Flash we just don't save them. In the Flash case, the problem is in the current session, if say install a package that creates directories, we cannot flush from the tmpfs layer down to the save layer as Aufs refuses to look at new directories created directly in the save layer. After a reboot it is okay as we don't save the .wh.__dir_opaque files. So, my question, and this is something I want very much to do, is where in the source can I comment-out the part that creates the .wh.__dir_opaque files? I had a quick look at the source and couldn't see where, so could someone familiar with the code kindly advise me how to do this? Of course, if this could become a configure option that would bereally great! Regards, Barry Kauler www.puppyos.com ________________________________________________ This message was sent using Dodo Webmail - www.dodo.com.au ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
