Cygwin: Document /dev/disk/by-* subdirectories

Signed-off-by: Christian Franke <christian.franke@t-online.de>
This commit is contained in:
Christian Franke 2023-11-17 18:41:08 +01:00 committed by Corinna Vinschen
parent 41e13e4d9d
commit 643275ed18
2 changed files with 22 additions and 14 deletions

View File

@ -17,11 +17,17 @@ What's new:
class expressions, and collating symbols in the search pattern, i.e.,
[:alnum:], [=a=], [.aa.].
- Introduce /dev/disk directory with subdirectories by-id and by-partuuid.
The by-id directory provides symlinks for each disk and its partitions:
BUSTYPE-[VENDOR_]PRODUCT_[SERIAL|HASH][-partN] -> ../../sdX[N].
The by-partuuid directory provides symlinks for each MBR and GPT disk
partition: MBR_SERIAL-OFFSET -> ../../sdXN, GPT_GUID -> ../../sdXN.
- Introduce /dev/disk directory with various by-* subdirectories which
provide symlinks to disk and partition raw devices:
by-drive/DRIVE_LETTER -> ../../sdXN
by-label/VOLUME_LABEL -> ../../sdXN
by-id/BUSTYPE-[VENDOR_]PRODUCT_[SERIAL|0xHASH][-partN] -> ../../sdX[N]
by-partuuid/MBR_SERIAL-OFFSET -> ../../sdXN
by-partuuid/GPT_GUID -> ../../sdXN
by-uuid/VOLUME_SERIAL -> ../../sdXN
by-voluuid/MBR_SERIAL-OFFSET -> ../../sdXN
by-voluuid/VOLUME_GUID -> ../../sdXN
The subdirectories by-drive and by-voluuid are Cygwin specific.
- Introduce /proc/codesets and /proc/locales with information on
supported codesets and locales for all interested parties. Locale(1)

View File

@ -35,17 +35,19 @@ class expressions, and collating symbols in the search pattern, i.e.,
</para></listitem>
<listitem><para>
Introduce /dev/disk directory with subdirectories by-id and by-partuuid.
The by-id directory provides symlinks for each disk and its partitions:
Introduce /dev/disk directory with various by-* subdirectories which
provide symlinks to disk and partition raw devices:
<screen>
BUSTYPE-[VENDOR_]PRODUCT_[SERIAL|0xHASH][-partN] -> ../../sdX[N]
</screen>
The by-partuuid directory provides symlinks for each MBR and GPT disk
partition:
<screen>
MBR_SERIAL-OFFSET -> ../../sdXN
GPT_GUID -> ../../sdXN
by-drive/DRIVE_LETTER -> ../../sdXN
by-label/VOLUME_LABEL -> ../../sdXN
by-id/BUSTYPE-[VENDOR_]PRODUCT_[SERIAL|0xHASH][-partN] -> ../../sdX[N]
by-partuuid/MBR_SERIAL-OFFSET -> ../../sdXN
by-partuuid/GPT_GUID -> ../../sdXN
by-uuid/VOLUME_SERIAL -> ../../sdXN
by-voluuid/MBR_SERIAL-OFFSET -> ../../sdXN
by-voluuid/VOLUME_GUID -> ../../sdXN
</screen>
The subdirectories by-drive and by-voluuid are Cygwin specific.
</para></listitem>
<listitem><para>