summaryrefslogtreecommitdiff
path: root/filesystems/scan_ffs
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/scan_ffs')
-rw-r--r--filesystems/scan_ffs/Makefile18
-rw-r--r--filesystems/scan_ffs/distinfo3
-rw-r--r--filesystems/scan_ffs/pkg-descr12
3 files changed, 33 insertions, 0 deletions
diff --git a/filesystems/scan_ffs/Makefile b/filesystems/scan_ffs/Makefile
new file mode 100644
index 000000000000..59d5340aa7fb
--- /dev/null
+++ b/filesystems/scan_ffs/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= scan_ffs
+PORTVERSION= 1.2
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils
+MASTER_SITES= http://www.ranner.eu/stuff/
+
+MAINTAINER= michael@ranner.eu
+COMMENT= Scan_ffs recovers lost disklabel
+
+USES= tar:bzip2
+
+PLIST_FILES= sbin/scan_ffs share/man/man8/scan_ffs.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/scan_ffs ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/scan_ffs.8 ${STAGEDIR}${PREFIX}/share/man/man8
+
+.include <bsd.port.mk>
diff --git a/filesystems/scan_ffs/distinfo b/filesystems/scan_ffs/distinfo
new file mode 100644
index 000000000000..f5fe89273c1e
--- /dev/null
+++ b/filesystems/scan_ffs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905190
+SHA256 (scan_ffs-1.2.tar.bz2) = a6d52583a275c02ca8c504a302e065b20512da5795cd2929cda13184c5305d4a
+SIZE (scan_ffs-1.2.tar.bz2) = 5119
diff --git a/filesystems/scan_ffs/pkg-descr b/filesystems/scan_ffs/pkg-descr
new file mode 100644
index 000000000000..d156d70ae1b7
--- /dev/null
+++ b/filesystems/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.