aboutsummaryrefslogtreecommitdiff
path: root/sysutils/scan_ffs
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-13 13:43:24 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-13 13:43:24 +0000
commitb1a1a5864d454aed0b94218d4371d038811f2375 (patch)
tree9d94db13fda814956b3bae2681bafa2b4b596fce /sysutils/scan_ffs
parent4fb847ff443c2b075d09071d30cd69ceab54ae32 (diff)
downloadports-b1a1a5864d454aed0b94218d4371d038811f2375.tar.gz
ports-b1a1a5864d454aed0b94218d4371d038811f2375.zip
Notes
Diffstat (limited to 'sysutils/scan_ffs')
-rw-r--r--sysutils/scan_ffs/Makefile22
-rw-r--r--sysutils/scan_ffs/distinfo1
-rw-r--r--sysutils/scan_ffs/pkg-descr12
-rw-r--r--sysutils/scan_ffs/pkg-plist1
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