]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.sbin/isfctl/isfctl.8
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / usr.sbin / isfctl / isfctl.8
1 .\"-
2 .\" Copyright (c) 2012 SRI International
3 .\" All rights reserved.
4 .\"
5 .\" This software was developed by SRI International and the University of
6 .\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 .\" ("CTSRD"), as part of the DARPA CRASH research programme.
8 .\"
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
11 .\" are met:
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\"    notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\"    notice, this list of conditions and the following disclaimer in the
16 .\"    documentation and/or other materials provided with the distribution.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\" $FreeBSD$
31 .\"
32 .Dd August 3, 2012
33 .Dt ISFCTL 8
34 .Os
35 .Sh NAME
36 .Nm isfctl
37 .Nd Intel StrataFlash device control program
38 .Sh SYNOPSIS
39 .Nm
40 .Ar device
41 .Ic erase
42 .Ar offset
43 .Ar size
44 .Sh DESCRIPTION
45 The
46 .Nm
47 utility provides a way for administrators to control aspects of
48 .Xr isf 4
49 devices that can not be managed though the
50 .Xr disk 9
51 interface.
52 .Pp
53 The
54 .Nm
55 utility takes a device name as its first argument followed by a command.
56 Currently supported commands are:
57 .Bl -tag -width erase
58 .It Ic erase
59 Erase blocks beginning at
60 .Ar offset
61 covering a total of
62 .Ar size
63 bytes.
64 The
65 .Ar offset
66 argument must be a multiple of 128K.
67 The
68 .Ar size
69 argument must either be a multiple of 128K or a number less than 32K in
70 which case it is treated as a number of 128K blocks to erase.
71 .El
72 .Sh EXAMPLES
73 .Dl isfctl isf0 erase 0 0x20000
74 .Pp
75 Erase the first block of the isf0 device.
76 .Sh SEE ALSO
77 .Xr isf 4
78 .Sh HISTORY
79 The
80 .Nm
81 utility first appeared in
82 .Fx 10.0 .
83 .Sh AUTHORS
84 This software and this manual page were
85 developed by SRI International and the University of Cambridge Computer
86 Laboratory under DARPA/AFRL contract
87 .Pq FA8750-10-C-0237
88 .Pq Do CTSRD Dc ,
89 as part of the DARPA CRASH research programme.