Re: [f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-26 Thread Chao Yu
Hi Perfect Gentleman, On 2018-11-26 21:47, Perfect Gentleman wrote: > Hi Chao > > With that patch fsck.f2fs works for  RO-partition with -f option. Thanks for your test. :) Thanks, > >  ~ $ sudo mount -o remount,ro /dev/sda1 > >  ~ $ sudo fsck.f2fs -a /dev/sda1 > Info: Fix the reported corru

Re: [f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-26 Thread Perfect Gentleman
Hi Chao With that patch fsck.f2fs works for  RO-partition with -f option.  ~ $ sudo mount -o remount,ro /dev/sda1  ~ $ sudo fsck.f2fs -a /dev/sda1 Info: Fix the reported corruption. Info: Mounted device! Info: Check FS only due to RO     Error: Failed to open the device! ~ $ sudo fsck.f2fs

Re: [f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-26 Thread Chao Yu
Hi Perfect Gentleman, On 2018-11-26 19:11, Perfect Gentleman wrote: > Hi Chao > > What patch do you mean? I mean https://git.kernel.org/pub/scm/linux/kernel/git/chao/f2fs-tools.git/commit/?h=dev-test&id=a6160c3e21f43b89b49802cc4a956d1c4b65ae44 Thanks, > > Redards > > P.S. It's reply to all

Re: [f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-26 Thread Perfect Gentleman
Hi Chao What patch do you mean? Redards P.S. It's reply to all :) On 11/26/18 5:52 PM, Chao Yu wrote: Hi Perfect Gentleman, Thanks for the report. On 2018/11/25 13:24, Perfect Gentleman wrote: Hi f2fs-team, there is bug: fsck.f2fs cannot check read-only filesystem. But 1.11.0 can do that.

Re: [f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-26 Thread Chao Yu
Hi Perfect Gentleman, Thanks for the report. On 2018/11/25 13:24, Perfect Gentleman wrote: > Hi f2fs-team, > > there is bug: fsck.f2fs cannot check read-only filesystem. But 1.11.0 > can do that. > > fsck  |Info: Fix the reported corruption. > fsck  |Info: Mounted devic

[f2fs-dev] Bug in f2fs-tools-1.12.0

2018-11-24 Thread Perfect Gentleman
Hi f2fs-team, there is bug: fsck.f2fs cannot check read-only filesystem. But 1.11.0 can do that. fsck  |Info: Fix the reported corruption. fsck  |Info: Mounted device! fsck  |Info: Check FS only due to RO fsck  |Error: Failed to open the device!