diff options
author | Christian Franke <christian.franke@t-online.de> | 2023-11-05 17:54:23 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-11-05 19:01:43 +0300 |
commit | c8cf1933ba04edf40181545b4c258be059d66f87 (patch) | |
tree | 90be43517bc9e85deadf593fe4b406ff90c3ddef /winsup/cygwin/Makefile.am | |
parent | 12e3bac3ce562007e83c3c67243c85fcb5ee70a4 (diff) |
Cygwin: Add /dev/disk/by-id symlinks
The new directory '/dev/disk/by-id' provides symlinks for each
disk and its partitions:
'BUSTYPE-[VENDOR_]PRODUCT_SERIAL[-partN]' -> '../../sdX[N]'.
This is based on strings provided by STORAGE_DEVICE_DESCRIPTOR.
If this information is too short, a 128-bit hash of the
STORAGE_DEVICE_UNIQUE_IDENTIFIER raw data is added.
Administrator privileges are not required.
Signed-off-by: Christian Franke <christian.franke@t-online.de>
Diffstat (limited to 'winsup/cygwin/Makefile.am')
-rw-r--r-- | winsup/cygwin/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am index 64b252a22..376c79fc3 100644 --- a/winsup/cygwin/Makefile.am +++ b/winsup/cygwin/Makefile.am @@ -84,6 +84,7 @@ FHANDLER_FILES= \ fhandler/console.cc \ fhandler/cygdrive.cc \ fhandler/dev.cc \ + fhandler/dev_disk.cc \ fhandler/dev_fd.cc \ fhandler/disk_file.cc \ fhandler/dsp.cc \ |