Incorporate my review comments.
This commit is contained in:
parent
8ed87adda9
commit
6aa388dc21
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: scan_ffs.8,v 1.2 2005/06/15 19:02:54 peter Exp $
|
||||
.\" $NetBSD: scan_ffs.8,v 1.3 2005/06/19 16:00:26 wiz Exp $
|
||||
.\" OpenBSD: scan_ffs.8,v 1.13 2004/12/14 00:04:21 jmc Exp
|
||||
.\"
|
||||
.\" Copyright (c) 2005 Juan Romero Pardines
|
||||
@ -34,47 +34,50 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl lv
|
||||
.Op Fl s Ar start
|
||||
.Op Fl e Ar end
|
||||
.Op Fl s Ar start
|
||||
.Ar device
|
||||
.Sh DESCRIPTION
|
||||
This program will take a raw disk device that covers the whole disk,
|
||||
and will find all possible FFSv1/FFSv2 partitions with different block
|
||||
sizes on the disk.
|
||||
It will show the filesystem type (FFSv1 or FFSv2), size and offset.
|
||||
It will show the file system type (FFSv1 or FFSv2), size and offset.
|
||||
Also it has an option to show the values with a disklabel-alike
|
||||
output.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width Ds
|
||||
.Bl -tag -width XXsXstartXX
|
||||
.It Fl e Ar end
|
||||
Where to stop searching for file systems.
|
||||
The
|
||||
.Ar end
|
||||
argument specifies the last sector that will be searched.
|
||||
Default is the last sector of
|
||||
.Ar device .
|
||||
.It Fl l
|
||||
This will make
|
||||
.Nm
|
||||
print out a string looking much like the input to disklabel.
|
||||
With a little massaging, this output can usually be used in the disklabel edit.
|
||||
.Pp
|
||||
.It Fl v
|
||||
Tell
|
||||
.Nm
|
||||
to be verbose about what it is doing, and what it has found.
|
||||
.Pp
|
||||
Print out a string looking much like the input to disklabel.
|
||||
With a little massaging, this output can usually be used by
|
||||
.Xr disklabel 8 .
|
||||
.It Fl s Ar start
|
||||
Tell
|
||||
.Nm
|
||||
where to start searching for filesystems.
|
||||
Where to start searching for file systems.
|
||||
This makes it easier to skip swap
|
||||
partitions, or other large non-UFS/FFS partitions.
|
||||
.Pp
|
||||
.It Fl e Ar end
|
||||
Ditto for telling
|
||||
The
|
||||
.Ar start
|
||||
argument specifies the first sector that will be searched.
|
||||
Default is the first sector of
|
||||
.Ar device .
|
||||
.It Fl v
|
||||
Be verbose about what
|
||||
.Nm
|
||||
where to stop.
|
||||
It will default to max sectors on the disk if it wasn't specified.
|
||||
is doing, and what it has found.
|
||||
.El
|
||||
.Pp
|
||||
.It Ar device
|
||||
This specifies which device
|
||||
The
|
||||
.Ar device
|
||||
argument specifies which device
|
||||
.Nm
|
||||
should use to scan for filesystems.
|
||||
should scan for file systems.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr disklabel 8
|
||||
@ -86,6 +89,7 @@ program first appeared in
|
||||
and then in
|
||||
.Nx 4.0 .
|
||||
.Sh AUTHORS
|
||||
.An -nosplit
|
||||
.Nm
|
||||
was written for
|
||||
.Ox
|
||||
@ -98,6 +102,8 @@ It was ported to
|
||||
by
|
||||
.An Juan Romero Pardines .
|
||||
.Sh BUGS
|
||||
Currently it won't find FFSv1 partitions with fragsize/blocksize
|
||||
greater than 2048/16384, and FFSv2 partitions with fragsize/blocksize
|
||||
greater than 8192/65536.
|
||||
Currently
|
||||
.Nm
|
||||
won't find FFSv1 partitions with fragsize/blocksize greater than
|
||||
2048/16384, and FFSv2 partitions with fragsize/blocksize greater
|
||||
than 8192/65536.
|
||||
|
Loading…
x
Reference in New Issue
Block a user