Hi On Fri, May 21, 2010 at 2:51 PM, <[email protected]> wrote: > > Joonwoo Park: >> I can read it mostly but since UBIFS switches mount option to >> read-only when it encounters an error. >> After mounting as read-write, if I access /mnt/.wh..wh.plnk (with ls >> -al /mnt) ubifs gets error and switches to read-only mode. > > Let me make sure. Do you mean something like this? > > # mount -t ubifs -o rw /dev/brabra /mnt > # ls -al /mnt > (no error) > # mkdir /mnt/.wh.dir > # ls -al /mnt > (no error, .wh.dir appears) > # mount -o remount,ro /mnt > # ls -al /mnt > (error, .wh..wh.plnk doesn't appear) >
Sorry for confusion. # mount -t ubifs -o rw /dev/brabra /mnt # ls -al /mnt (error occurs here, .wh.dir doesn't appear) > > The dir .wh..wh.plnk is a hidden dir to handle the aufs internal > "pseudo-link" which is maintained at remount/umount time by > aufs2-util. Did you install the utilities? No, I'm not using aufs2-util at all. > >> Does aufs sync after writing .wh..wh.plnk? Is it possible it's been >> truncated? >> As far as I know UBIFS never sync unless sync has been issued by >> command or umount. > > Why do you think that sync is necessary? I don't think I fully understand what .wh..wh.plnk is for. But I was under the impression somehow .wh..wh.plnk keep changes. That's why I was curious that how it's synced. But it sounds like it's changes only when filesystem is remount/umount. is it true? Thanks, Joonwoo. > > > > J. R. Okajima > ------------------------------------------------------------------------------
