SCAN_FFS(8) | System Manager's Manual | SCAN_FFS(8) |
scan_ffs
, scan_lfs
— find FFSv1/FFSv2/LFS partitions on a disk or
file
scan_ffs |
[-blv ] [-e
end] [-F
file] [-s
start] device |
scan_ffs
will take a raw disk device that
covers the whole disk or a file and will find all possible FFSv[12]/LFS
partitions, independent of block sizes on it. 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:
-b
-e
end-F
file-l
-s
start-v
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.
The scan_ffs
program first appeared in
OpenBSD 2.3 and then in NetBSD
3.1. Support for searching in files was added in
NetBSD 4.0.
scan_ffs
was written for
OpenBSD by Niklas Hallqvist
and Tobias Weingartner. It was ported to
NetBSD by Juan Romero
Pardines, who added support for LFS/FFSv2, partitions with
fragsize/blocksize greater than 2048/16384 for FFSv1, searching on files,
etc.
Currently scan_ffs
won't find partitions
with fragsize/blocksize greater than 8192/65536.
May 1, 2007 | NetBSD 10.99 |