diff options
Diffstat (limited to 'sysutils/scan_ffs')
-rw-r--r-- | sysutils/scan_ffs/Makefile | 22 | ||||
-rw-r--r-- | sysutils/scan_ffs/distinfo | 1 | ||||
-rw-r--r-- | sysutils/scan_ffs/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/scan_ffs/pkg-plist | 1 |
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/scan_ffs/Makefile b/sysutils/scan_ffs/Makefile new file mode 100644 index 000000000000..38a46f5b0210 --- /dev/null +++ b/sysutils/scan_ffs/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: scan_ffs +# Date created: 20040112 +# Whom: mranner@inode.at +# +# $FreeBSD$ +# + +PORTNAME= scan_ffs +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= http://www.ranner.jawa.at/stuff/ + +MAINTAINER= mranner@inode.at +COMMENT= Scan_ffs recovers lost disklabel + +MAN8= scan_ffs.8 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/scan_ffs ${PREFIX}/sbin/. + ${INSTALL_MAN} ${WRKSRC}/scan_ffs.8 ${MAN8PREFIX}/man/man8/. + +.include <bsd.port.mk> diff --git a/sysutils/scan_ffs/distinfo b/sysutils/scan_ffs/distinfo new file mode 100644 index 000000000000..7bd6d77b8b51 --- /dev/null +++ b/sysutils/scan_ffs/distinfo @@ -0,0 +1 @@ +MD5 (scan_ffs-1.0.tar.gz) = 534cc0b4e7a29be2eca60e77dcf883d9 diff --git a/sysutils/scan_ffs/pkg-descr b/sysutils/scan_ffs/pkg-descr new file mode 100644 index 000000000000..d156d70ae1b7 --- /dev/null +++ b/sysutils/scan_ffs/pkg-descr @@ -0,0 +1,12 @@ +scan_ffs(8) recovers accidential lost or deleted disklabels. + +This is the life-saver of typos. If you have ever been working too long, +and just happened to type 'disklabel -rw da0 floppy', instead of 'diskla- +bel -rw fd0 floppy', you know what I am talking about. + +This little program will take a raw disk device (which you might have to +create) that covers the whole disk, and finds all probable UFS/FFS parti- +tions on the disk. It has various options to make it go faster, and to +print out information to help in the reconstruction of the disklabel. + +Ported from OpenBSD to FreeBSD 4/5 with support for UFS1 and UFS2. diff --git a/sysutils/scan_ffs/pkg-plist b/sysutils/scan_ffs/pkg-plist new file mode 100644 index 000000000000..7e8bb68e1cc9 --- /dev/null +++ b/sysutils/scan_ffs/pkg-plist @@ -0,0 +1 @@ +sbin/scan_ffs |