]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Add /dev/disk/by-id symlinks
authorChristian Franke <christian.franke@t-online.de>
Sun, 5 Nov 2023 14:54:23 +0000 (15:54 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 5 Nov 2023 16:01:43 +0000 (17:01 +0100)
commitc8cf1933ba04edf40181545b4c258be059d66f87
tree90be43517bc9e85deadf593fe4b406ff90c3ddef
parent12e3bac3ce562007e83c3c67243c85fcb5ee70a4
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>
winsup/cygwin/Makefile.am
winsup/cygwin/devices.cc
winsup/cygwin/devices.in
winsup/cygwin/dtable.cc
winsup/cygwin/fhandler/dev_disk.cc [new file with mode: 0644]
winsup/cygwin/local_includes/devices.h
winsup/cygwin/local_includes/fhandler.h
winsup/cygwin/mount.cc
This page took 0.032435 seconds and 5 git commands to generate.