From owner-cvs-src@FreeBSD.ORG Fri May 5 00:19:25 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8811D16A401; Fri, 5 May 2006 00:19:25 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 435D843D46; Fri, 5 May 2006 00:19:25 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k450JP4f027354; Fri, 5 May 2006 00:19:25 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k450JPfx027347; Fri, 5 May 2006 00:19:25 GMT (envelope-from sobomax) Message-Id: <200605050019.k450JPfx027347@repoman.freebsd.org> From: Maxim Sobolev Date: Fri, 5 May 2006 00:19:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/find-sb find-sb.c mini_ufs.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 00:19:25 -0000 sobomax 2006-05-05 00:19:24 UTC FreeBSD src repository Modified files: tools/tools/find-sb find-sb.c Added files: tools/tools/find-sb mini_ufs.h Log: o Make it possible to compile find-sb on non-FreeBSD system (MacOS X in my case). Can be useful for recovering in some cases; o use SBLOCK_UFS2 instead of SBLOCK_UFS1 to calculate likely start of the UFS2 partition from the beginning of disk. Revision Changes Path 1.2 +5 -1 src/tools/tools/find-sb/find-sb.c 1.1 +154 -0 src/tools/tools/find-sb/mini_ufs.h (new)