hello, i have issue for using stat for virtual cloned disk on windows/vmware
st_dev give me the the same serial number
and diff util doest work, because thinking path the same and there are
no files for diff

iam propose improve winsup\cygwin\mount.c
by add disk letter to st_dev

at this line
https://github.com/cygwin/cygwin/blob/367c1ae16185e7a81aea5bcc2388e4a7a473c92e/winsup/cygwin/mount.cc#L266

sernum = ffvi_buf.ffvi.VolumeSerialNumber;

after add disk letter to sernum
stat will give more unique st_dev
and as less diff will work

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to