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.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?


> 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?


J. R. Okajima

------------------------------------------------------------------------------

Reply via email to