Wed Jan 6 18:05:58 2021 UTC ()
Simplify macro usage.


(wiz)
diff -r1.12 -r1.13 src/share/man/man4/dk.4

cvs diff -r1.12 -r1.13 src/share/man/man4/dk.4 (expand / switch to unified diff)

--- src/share/man/man4/dk.4 2021/01/06 17:22:36 1.12
+++ src/share/man/man4/dk.4 2021/01/06 18:05:58 1.13
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: dk.4,v 1.12 2021/01/06 17:22:36 pgoyette Exp $ 1.\" $NetBSD: dk.4,v 1.13 2021/01/06 18:05:58 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 2006 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Jason R. Thorpe. 7.\" by Jason R. Thorpe.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -70,56 +70,56 @@ are enabled by default. @@ -70,56 +70,56 @@ are enabled by default.
70.Pp 70.Pp
71For each partition found, a wedge with a corresponding name is created. 71For each partition found, a wedge with a corresponding name is created.
72.It Dv DKWEDGE_METHOD_BSDLABEL 72.It Dv DKWEDGE_METHOD_BSDLABEL
73BSD disklabel detection method. 73BSD disklabel detection method.
74For each configured partition in the 74For each configured partition in the
75.Xr disklabel 5 75.Xr disklabel 5
76that is not of type 76that is not of type
77.Dv FS_UNUSED , 77.Dv FS_UNUSED ,
78a wedge is created and named after the 78a wedge is created and named after the
79.Va d_packname 79.Va d_packname
80field followed by 80field followed by
81.Sq \&/ 81.Sq \&/
82and the partition letter 82and the partition letter
83.So a Sc Ns \&.. Ns So p Sc Ns \&. 83.So a Sc Ns \&.. Ns So p Sc .
84.Pp 84.Pp
85When the 85When the
86.Va d_packname 86.Va d_packname
87is empty or has the value 87is empty or has the value
88.Do fictitious Dc Ns \&, 88.Dq fictitious ,
89the regular partition names 89the regular partition names
90are used as wedge names, i.e. the device name, unit number and 90are used as wedge names, i.e. the device name, unit number and
91partition letter, for example 91partition letter, for example
92.Do wd0a Dc Ns \&. 92.Dq wd0a .
93.It Dv DKWEDGE_METHOD_GPT 93.It Dv DKWEDGE_METHOD_GPT
94Extensible Firmware Interface Globally Unique Identifier Partition Table 94Extensible Firmware Interface Globally Unique Identifier Partition Table
95(GPT) detection method. 95(GPT) detection method.
96.Pp 96.Pp
97For every GPT partition a wedge is created and named after the 97For every GPT partition a wedge is created and named after the
98partition label. 98partition label.
99GPT partitions are UTF-16-encoded, this is converted into UTF-8. 99GPT partitions are UTF-16-encoded, this is converted into UTF-8.
100If a partition has no label, its UUID is used instead. 100If a partition has no label, its UUID is used instead.
101.It Dv DKWEDGE_METHOD_MBR 101.It Dv DKWEDGE_METHOD_MBR
102IBM PC-compatible Master Boot Record (MBR) partitioning detection method, 102IBM PC-compatible Master Boot Record (MBR) partitioning detection method,
103with support for Extended MBRs. 103with support for Extended MBRs.
104.Pp 104.Pp
105For every partition in the MBR a wedge is created and named like a 105For every partition in the MBR a wedge is created and named like a
106regular partition name, i.e. the device name, unit number and a 106regular partition name, i.e. the device name, unit number and a
107partition letter, for example 107partition letter, for example
108.Do wd0e Dc Ns \&. 108.Dq wd0e .
109Primary partitions start with 109Primary partitions start with
110.So e Sc Ns \&, 110.Sq e ,
111extended partitions start with 111extended partitions start with
112.So i Sc Ns \&. 112.Sq i .
113.It Dv DKWEDGE_METHOD_RDB 113.It Dv DKWEDGE_METHOD_RDB
114Amiga Rigid Disk Block (RDB) partitioning detection method. 114Amiga Rigid Disk Block (RDB) partitioning detection method.
115.It Dv DKWEDGE_METHOD_APPLE 115.It Dv DKWEDGE_METHOD_APPLE
116Apple partition map detection method. 116Apple partition map detection method.
117.El 117.El
118.Sh FILES 118.Sh FILES
119.Bl -tag -width /dev/XXrXdkX -compact 119.Bl -tag -width /dev/XXrXdkX -compact
120.It Pa /dev/{,r}dk* 120.It Pa /dev/{,r}dk*
121.Nm 121.Nm
122device special files. 122device special files.
123.El 123.El
124.Sh SEE ALSO 124.Sh SEE ALSO
125.Xr config 1 , 125.Xr config 1 ,