scan_ffs(8)
- NetBSD Manual Pages
SCAN_FFS(8) NetBSD System Manager's Manual SCAN_FFS(8)
NAME
scan_ffs, scan_lfs -- find FFSv1/FFSv2/LFS partitions on a disk
SYNOPSIS
scan_ffs [-lv] [-e end] [-s start] device
DESCRIPTION
scan_ffs will take a raw disk device that covers the whole disk and will
find all possible FFSv[12]/LFS partitions, independent of block sizes, on
the disk. It will show the file system type (FFSv1, FFSv2, or LFS),
size, and offset. Also it has an option to show the values with a
disklabel-alike output.
The options are as follows:
-e end Where to stop searching for file systems. The end argument
specifies the last sector that will be searched. Default is
the last sector of device.
-l Print out a string looking much like the input to disklabel.
With a little massaging, this output can usually be used by
disklabel(8).
-s start Where to start searching for file systems. This makes it
easier to skip swap partitions or other large non-UFS/FFS
partitions. The start argument specifies the first sector
that will be searched. Default is the first sector of
device.
-v Be verbose about what scan_ffs is doing, and what has been
found.
The device argument specifies which device scan_ffs should scan for file
systems.
scan_lfs is just another name for the same program, both behave in
exactly the same way.
SEE ALSO
disklabel(8)
HISTORY
The scan_ffs program first appeared in OpenBSD 2.3 and then in
NetBSD 3.1.
AUTHORS
scan_ffs was written for OpenBSD by Niklas Hallqvist and Tobias
Weingartner. It was ported to NetBSD by Juan Romero Pardines, who also
added LFS and FFSv2 support.
BUGS
Currently scan_ffs won't find FFSv1 partitions with fragsize/blocksize
greater than 2048/16384, and FFSv2 partitions with fragsize/blocksize
greater than 8192/65536.
NetBSD 3.1 September 10, 2005 NetBSD 3.1
Powered by man-cgi (2024-03-20).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.