From owner-cvs-src-old@FreeBSD.ORG Sat Feb 12 13:17:30 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83559106566C for ; Sat, 12 Feb 2011 13:17:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 70B988FC12 for ; Sat, 12 Feb 2011 13:17:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CDHUT5018871 for ; Sat, 12 Feb 2011 13:17:30 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1CDHUl4018870 for cvs-src-old@freebsd.org; Sat, 12 Feb 2011 13:17:30 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201102121317.p1CDHUl4018870@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 12 Feb 2011 13:17:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/fsck_ffs fsck.h setup.c suj.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 13:17:30 -0000 kib 2011-02-12 13:17:14 UTC FreeBSD src repository Modified files: sbin/fsck_ffs fsck.h setup.c suj.c Log: SVN rev 218604 on 2011-02-12 13:17:14Z by kib 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 devices, and from the label otherwise. The file images without label have to be made with 512 sector size. In collaboration with: pho Reviewed by: jeff Tested by: bz, pho Revision Changes Path 1.46 +1 -0 src/sbin/fsck_ffs/fsck.h 1.53 +1 -1 src/sbin/fsck_ffs/setup.c 1.6 +17 -11 src/sbin/fsck_ffs/suj.c