From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 12 14:30:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D11016A4CE for ; Mon, 12 Jan 2004 14:30:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEB4A43D45 for ; Mon, 12 Jan 2004 14:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0CMUHFR059522 for ; Mon, 12 Jan 2004 14:30:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0CMUH2M059521; Mon, 12 Jan 2004 14:30:17 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 12 Jan 2004 14:30:17 -0800 (PST) Resent-Message-Id: <200401122230.i0CMUH2M059521@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Ranner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED00416A4CE for ; Mon, 12 Jan 2004 14:25:41 -0800 (PST) Received: from dwarf.jawa.at (line17.adsl-dynamic.inode.at [213.229.7.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9BB43D2D for ; Mon, 12 Jan 2004 14:25:39 -0800 (PST) (envelope-from mranner@dwarf.jawa.at) Received: from dwarf.jawa.at (localhost.jawa.at [127.0.0.1]) by dwarf.jawa.at (8.12.9p2/8.12.9) with ESMTP id i0CMP7Eb001624 for ; Mon, 12 Jan 2004 23:25:07 +0100 (CET) (envelope-from mranner@dwarf.jawa.at) Received: (from root@localhost) by dwarf.jawa.at (8.12.9p2/8.12.9/Submit) id i0CMP7Ax001623; Mon, 12 Jan 2004 23:25:07 +0100 (CET) (envelope-from mranner) Message-Id: <200401122225.i0CMP7Ax001623@dwarf.jawa.at> Date: Mon, 12 Jan 2004 23:25:07 +0100 (CET) From: Michael Ranner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61273: new port: sysutils/scan_ffs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Ranner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 22:30:22 -0000 >Number: 61273 >Category: ports >Synopsis: new port: sysutils/scan_ffs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 12 14:30:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Michael Ranner >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD dwarf.jawa.at 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #4: Sat Nov 29 11:09:14 CET 2003 root@dwarf.jawa.at:/usr/src/sys/compile/DWARF i386 System: FreeBSD dwarf.jawa.at 5.2-RELEASE-RC FreeBSD 5.2-RELEASE-RC #4: Sat Jan 10 18:19:41 CET 2004 root@dwarf.jawa.at:/usr/src/sys/compile/i386/DWARF i386 >Description: scan_ffs ported from OpenBSD to FreeBSD with support for UFS1 and UFS2, allows recovering of lost or deletes disklabels >How-To-Repeat: unshar in /usr/ports/sysutils and install >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ./scan_ffs # ./scan_ffs/pkg-plist # ./scan_ffs/pkg-descr # ./scan_ffs/distinfo # ./scan_ffs/Makefile # echo c - ./scan_ffs mkdir -p ./scan_ffs > /dev/null 2>&1 echo x - ./scan_ffs/pkg-plist sed 's/^X//' >./scan_ffs/pkg-plist << 'END-of-./scan_ffs/pkg-plist' Xsbin/scan_ffs END-of-./scan_ffs/pkg-plist echo x - ./scan_ffs/pkg-descr sed 's/^X//' >./scan_ffs/pkg-descr << 'END-of-./scan_ffs/pkg-descr' Xscan_ffs(8) recovers accidential lost or deleted disklabels. X XThis is the life-saver of typos. If you have ever been working too long, Xand just happened to type 'disklabel -rw da0 floppy', instead of 'diskla- Xbel -rw fd0 floppy', you know what I am talking about. X XThis little program will take a raw disk device (which you might have to Xcreate) that covers the whole disk, and finds all probable UFS/FFS parti- Xtions on the disk. It has various options to make it go faster, and to Xprint out information to help in the reconstruction of the disklabel. X XPorted from OpenBSD to FreeBSD 4/5 with support for UFS1 and UFS2. END-of-./scan_ffs/pkg-descr echo x - ./scan_ffs/distinfo sed 's/^X//' >./scan_ffs/distinfo << 'END-of-./scan_ffs/distinfo' XMD5 (scan_ffs-1.0.tar.gz) = 534cc0b4e7a29be2eca60e77dcf883d9 END-of-./scan_ffs/distinfo echo x - ./scan_ffs/Makefile sed 's/^X//' >./scan_ffs/Makefile << 'END-of-./scan_ffs/Makefile' X# New ports collection makefile for: scan_ffs X# Date created: 20040112 X# Whom: mranner@inode.at X# X# $FreeBSD: ports/sysutils/rdate/Makefile,v 1.10 2003/02/21 13:28:52 knu Exp $ X# X XPORTNAME= scan_ffs XPORTVERSION= 1.0 XCATEGORIES= sysutils XMASTER_SITES= http://www.ranner.jawa.at/stuff/ X XMAINTAINER= mranner@inode.at XCOMMENT= Scan_ffs recovers lost disklabel X XMAN8= scan_ffs.8 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/scan_ffs ${PREFIX}/sbin/. X ${INSTALL_MAN} ${WRKSRC}/scan_ffs.8 ${PREFIX}/man/man8/. X X.include END-of-./scan_ffs/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: