opnsense-ports/sysutils/scan_ffs/pkg-descr
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
623 B
Text

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.