| @@ -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 |
71 | For each partition found, a wedge with a corresponding name is created. | | 71 | For each partition found, a wedge with a corresponding name is created. |
72 | .It Dv DKWEDGE_METHOD_BSDLABEL | | 72 | .It Dv DKWEDGE_METHOD_BSDLABEL |
73 | BSD disklabel detection method. | | 73 | BSD disklabel detection method. |
74 | For each configured partition in the | | 74 | For each configured partition in the |
75 | .Xr disklabel 5 | | 75 | .Xr disklabel 5 |
76 | that is not of type | | 76 | that is not of type |
77 | .Dv FS_UNUSED , | | 77 | .Dv FS_UNUSED , |
78 | a wedge is created and named after the | | 78 | a wedge is created and named after the |
79 | .Va d_packname | | 79 | .Va d_packname |
80 | field followed by | | 80 | field followed by |
81 | .Sq \&/ | | 81 | .Sq \&/ |
82 | and the partition letter | | 82 | and 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 |
85 | When the | | 85 | When the |
86 | .Va d_packname | | 86 | .Va d_packname |
87 | is empty or has the value | | 87 | is empty or has the value |
88 | .Do fictitious Dc Ns \&, | | 88 | .Dq fictitious , |
89 | the regular partition names | | 89 | the regular partition names |
90 | are used as wedge names, i.e. the device name, unit number and | | 90 | are used as wedge names, i.e. the device name, unit number and |
91 | partition letter, for example | | 91 | partition letter, for example |
92 | .Do wd0a Dc Ns \&. | | 92 | .Dq wd0a . |
93 | .It Dv DKWEDGE_METHOD_GPT | | 93 | .It Dv DKWEDGE_METHOD_GPT |
94 | Extensible Firmware Interface Globally Unique Identifier Partition Table | | 94 | Extensible Firmware Interface Globally Unique Identifier Partition Table |
95 | (GPT) detection method. | | 95 | (GPT) detection method. |
96 | .Pp | | 96 | .Pp |
97 | For every GPT partition a wedge is created and named after the | | 97 | For every GPT partition a wedge is created and named after the |
98 | partition label. | | 98 | partition label. |
99 | GPT partitions are UTF-16-encoded, this is converted into UTF-8. | | 99 | GPT partitions are UTF-16-encoded, this is converted into UTF-8. |
100 | If a partition has no label, its UUID is used instead. | | 100 | If a partition has no label, its UUID is used instead. |
101 | .It Dv DKWEDGE_METHOD_MBR | | 101 | .It Dv DKWEDGE_METHOD_MBR |
102 | IBM PC-compatible Master Boot Record (MBR) partitioning detection method, | | 102 | IBM PC-compatible Master Boot Record (MBR) partitioning detection method, |
103 | with support for Extended MBRs. | | 103 | with support for Extended MBRs. |
104 | .Pp | | 104 | .Pp |
105 | For every partition in the MBR a wedge is created and named like a | | 105 | For every partition in the MBR a wedge is created and named like a |
106 | regular partition name, i.e. the device name, unit number and a | | 106 | regular partition name, i.e. the device name, unit number and a |
107 | partition letter, for example | | 107 | partition letter, for example |
108 | .Do wd0e Dc Ns \&. | | 108 | .Dq wd0e . |
109 | Primary partitions start with | | 109 | Primary partitions start with |
110 | .So e Sc Ns \&, | | 110 | .Sq e , |
111 | extended partitions start with | | 111 | extended partitions start with |
112 | .So i Sc Ns \&. | | 112 | .Sq i . |
113 | .It Dv DKWEDGE_METHOD_RDB | | 113 | .It Dv DKWEDGE_METHOD_RDB |
114 | Amiga Rigid Disk Block (RDB) partitioning detection method. | | 114 | Amiga Rigid Disk Block (RDB) partitioning detection method. |
115 | .It Dv DKWEDGE_METHOD_APPLE | | 115 | .It Dv DKWEDGE_METHOD_APPLE |
116 | Apple partition map detection method. | | 116 | Apple 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 |
122 | device special files. | | 122 | device special files. |
123 | .El | | 123 | .El |
124 | .Sh SEE ALSO | | 124 | .Sh SEE ALSO |
125 | .Xr config 1 , | | 125 | .Xr config 1 , |