Scan_ffs

Jul 20, 2023

Scan_ffs recovers lost disklabel

scan_ffs8 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.



Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron