Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: don't use wapbl (-o log) on / (/dev)



At Mon, 16 Feb 2009 00:23:22 +0900,
FUKAUMI Naoki wrote:
> don't use wapbl (-o log) on / (/dev) because it leads silent data
> corruption on (at least) msdosfs. it was introduced in
> 
>   
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/ufs/ffs/ffs_vnops.c.diff?r1=1.105&r2=1.106
>   
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/ufs/ffs/ffs_vnops.c.diff?r1=1.104.4.1&r2=1.104.4.2

do

  $ mount_msdos XXX /mnt
  $ cp non-empty-file /mnt/
  $ umount /mnt
  $ mount_msdos XXX /mnt
  $ ls -l /mnt/

then you can see 0 byte non-empty-file.

--
FUKAUMI Naoki


Home | Main Index | Thread Index | Old Index