diff options
author | clement <clement@FreeBSD.org> | 2004-01-13 13:43:24 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-13 13:43:24 +0000 |
commit | ca5d1de1d6f942aa15aa281d25138cd9b941b693 (patch) | |
tree | 83a1721cbbc41bf453cf307475243047892179c0 /sysutils | |
parent | 335f75495e2a9f3d11b8afed9cff05e51a8497bd (diff) | |
download | FreeBSD-ports-ca5d1de1d6f942aa15aa281d25138cd9b941b693.zip FreeBSD-ports-ca5d1de1d6f942aa15aa281d25138cd9b941b693.tar.gz |
Add scan_ffs 1.0, scan_ffs recovers lost disklabel.
scan_ffs ported from OpenBSD to FreeBSD with support for UFS1 and UFS2,
allows recovering of lost or deletes disklabels
PR: 61273
Submitted by: mranner@inode.at
Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-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 |
5 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 39195c6..cc6ebe7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -303,6 +303,7 @@ SUBDIR += sarah SUBDIR += sb16config SUBDIR += sbniconfig + SUBDIR += scan_ffs SUBDIR += sdd SUBDIR += sec SUBDIR += service-config diff --git a/sysutils/scan_ffs/Makefile b/sysutils/scan_ffs/Makefile new file mode 100644 index 0000000..38a46f5 --- /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 0000000..7bd6d77 --- /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 0000000..d156d70 --- /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 0000000..7e8bb68 --- /dev/null +++ b/sysutils/scan_ffs/pkg-plist @@ -0,0 +1 @@ +sbin/scan_ffs |