Re: svn commit: r218604 - head/sbin/fsck_ffs

2011-02-13 Thread Bruce Evans
On Sun, 13 Feb 2011, Kostik Belousov wrote: On Sun, Feb 13, 2011 at 11:30:56PM +1100, Bruce Evans wrote: On Sat, 12 Feb 2011, Konstantin Belousov wrote: Log: In checker, read journal by sectors. Due to UFS insistence to pretend that device sector size is 512 bytes, Do you mean that ffs_fsc

Re: svn commit: r218604 - head/sbin/fsck_ffs

2011-02-13 Thread Kostik Belousov
On Sun, Feb 13, 2011 at 11:30:56PM +1100, Bruce Evans wrote: > On Sat, 12 Feb 2011, Konstantin Belousov wrote: > > >Log: > > In checker, read journal by sectors. > > > > Due to UFS insistence to pretend that device sector size is 512 bytes, > > Do you mean that ffs_fsck does this? UFS doesn't ex

Re: svn commit: r218604 - head/sbin/fsck_ffs

2011-02-13 Thread Bjoern A. Zeeb
On Sun, 13 Feb 2011, Bruce Evans wrote: On Sat, 12 Feb 2011, Konstantin Belousov wrote: Log: In checker, read journal by sectors. Due to UFS insistence to pretend that device sector size is 512 bytes, [long explanation stripped] I don't claim to understand a word; all I know is that you

Re: svn commit: r218604 - head/sbin/fsck_ffs

2011-02-13 Thread Bruce Evans
On Sat, 12 Feb 2011, Konstantin Belousov wrote: Log: In checker, read journal by sectors. Due to UFS insistence to pretend that device sector size is 512 bytes, Do you mean that ffs_fsck does this? UFS doesn't exist, and ffs in the kernel didn't use device sectors at all until recently (it

svn commit: r218604 - head/sbin/fsck_ffs

2011-02-12 Thread Konstantin Belousov
Author: kib Date: Sat Feb 12 13:17:14 2011 New Revision: 218604 URL: http://svn.freebsd.org/changeset/base/218604 Log: In checker, read journal by sectors. Due to UFS insistence to pretend that device sector size is 512 bytes, sector size is obtained from ioctl(DIOCGSECTORSIZE) for real d