[PATCH] Cygwin: Add /dev/disk/by-drive and /dev/disk/by-uuid symlinks

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Nov 17 12:11:49 GMT 2023


On Nov 16 18:02, Christian Franke wrote:
> Corinna Vinschen wrote:
> > On Nov 16 12:50, Christian Franke wrote:
> > ...
> > > > I also tried an NTFS partition and the output looks like this:
> > > > 
> > > >     0FD4F62866CFBF09 -> ../../sdc1
> > > > 
> > > > This is the 64 bit volume serial number as returned by
> > > > DeviceIoControl(FSCTL_GET_NTFS_VOLUME_DATA)(*).
> > > > 
> > > > Wouldn't that be what we want to see, too?
> > > Hmm...... yes. Should both information be provided in by-uuid or only the
> > > serial numbers? In the latter case, should we add e.g. by-voluuid for the
> > > volume GUIDs ?
> > Good question... by-voluuid sounds like a nice idea.  It's a Windows-only
> > concept anyway, so it might make sense to present it in its own directory.
> 
> Then by-voluuid is easy, changed patch is attached.

Pushed.


> I try to provide a patch
> for a new by-uuid with filesystem serial numbers soon.

Cool!


Thanks,
Corinna


More information about the Cygwin-patches mailing list