From 7236f22f713a923759ec7a98b4572c1910beb730 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 7 Nov 2023 15:25:54 +0100 Subject: Cygwin: Document /dev/disk/by-id and /dev/disk/by-partuuid Signed-off-by: Christian Franke --- winsup/cygwin/release/3.5.0 | 6 ++++++ winsup/doc/new-features.xml | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/winsup/cygwin/release/3.5.0 b/winsup/cygwin/release/3.5.0 index dbbf800..2d59818 100644 --- a/winsup/cygwin/release/3.5.0 +++ b/winsup/cygwin/release/3.5.0 @@ -17,6 +17,12 @@ 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 /proc/codesets and /proc/locales with information on supported codesets and locales for all interested parties. Locale(1) opens these files and uses the info for printing locale info like any diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 78b2dba..a8e8a79 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -35,6 +35,20 @@ class expressions, and collating symbols in the search pattern, i.e., +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|0xHASH][-partN] -> ../../sdX[N] + +The by-partuuid directory provides symlinks for each MBR and GPT disk +partition: + + MBR_SERIAL-OFFSET -> ../../sdXN + GPT_GUID -> ../../sdXN + + + + Introduce /proc/codesets and /proc/locales with information on supported codesets and locales for all interested parties. Locale(1) opens these files and uses the info for printing locale info like any other process -- cgit v1.1