Deleted Added
full compact
getdiskbyname.3 (84306) getdiskbyname.3 (131504)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getdiskbyname.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getdiskbyname.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/gen/getdiskbyname.3 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/gen/getdiskbyname.3 131504 2004-07-02 23:52:20Z ru $
34.\"
35.Dd June 4, 1993
36.Dt GETDISKBYNAME 3
37.Os
38.Sh NAME
39.Nm getdiskbyname
40.Nd get generic disk description by its name
41.Sh LIBRARY

--- 5 unchanged lines hidden (view full) ---

47.Sh DESCRIPTION
48The
49.Fn getdiskbyname
50function
51takes a disk name (e.g.\&
52.Ql rm03 )
53and returns a prototype disk label
54describing its geometry information and the standard
34.\"
35.Dd June 4, 1993
36.Dt GETDISKBYNAME 3
37.Os
38.Sh NAME
39.Nm getdiskbyname
40.Nd get generic disk description by its name
41.Sh LIBRARY

--- 5 unchanged lines hidden (view full) ---

47.Sh DESCRIPTION
48The
49.Fn getdiskbyname
50function
51takes a disk name (e.g.\&
52.Ql rm03 )
53and returns a prototype disk label
54describing its geometry information and the standard
55disk partition tables. All information is obtained from
55disk partition tables.
56All information is obtained from
56the
57.Xr disktab 5
58file.
59.Sh SEE ALSO
60.Xr disklabel 5 ,
61.Xr disktab 5 ,
62.Xr disklabel 8
63.Sh HISTORY
64The
65.Fn getdiskbyname
66function appeared in
67.Bx 4.3 .
57the
58.Xr disktab 5
59file.
60.Sh SEE ALSO
61.Xr disklabel 5 ,
62.Xr disktab 5 ,
63.Xr disklabel 8
64.Sh HISTORY
65The
66.Fn getdiskbyname
67function appeared in
68.Bx 4.3 .