From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id B596038582A3; Tue, 7 Nov 2023 15:16:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B596038582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699370181; bh=y+fppxPm85kXXBdTjf9FBDIdRQ5qIzTSYXp8Xd6mM4w=; h=From:To:Subject:Date:From; b=ZK1BcnoBG/rLgxqKeWSg+yeJLK9vXuXQen/Frg+W1Xb7rVoX8J7ekDU0JFso9S8Ld FvkoMNTe+Ruv1ZEkINiAAaCOrxZ0sjClTS+KL0DRGC0GcQ2W5rSIWsUdbEy4h5fZmS ySRCIt4GT7Iew3bNp4XUXjgc+YPbqG1XdPJmfnb0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: Document /dev/disk/by-id and /dev/disk/by-partuuid X-Act-Checkin: newlib-cygwin X-Git-Author: Christian Franke X-Git-Refname: refs/heads/main X-Git-Oldrev: 1ebef73c596cda6da23dec094e5b22add43a86e4 X-Git-Newrev: 7236f22f713a923759ec7a98b4572c1910beb730 Message-Id: <20231107151621.B596038582A3@sourceware.org> Date: Tue, 7 Nov 2023 15:16:21 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D7236f22f713= a923759ec7a98b4572c1910beb730 commit 7236f22f713a923759ec7a98b4572c1910beb730 Author: Christian Franke AuthorDate: Tue Nov 7 15:25:54 2023 +0100 Commit: Corinna Vinschen CommitDate: Tue Nov 7 16:15:12 2023 +0100 Cygwin: Document /dev/disk/by-id and /dev/disk/by-partuuid =20 Signed-off-by: Christian Franke Diff: --- 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 dbbf8009d4a1..2d59818b58a8 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:], [=3Da=3D], [.aa.]. =20 +- 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 78b2dbafdc2e..a8e8a7991fcb 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -34,6 +34,20 @@ class expressions, and collating symbols in the search p= attern, i.e., [:alnum:], [=3Da=3D], [.aa.]. =20 + +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