public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* how about little improve "stat" function for virtual cloned drisk on windows ?
@ 2021-04-29 15:29 dreverser
  2021-04-29 16:04 ` Brian Inglis
  2021-04-29 16:07 ` Corinna Vinschen
  0 siblings, 2 replies; 3+ messages in thread
From: dreverser @ 2021-04-29 15:29 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-29 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 15:29 how about little improve "stat" function for virtual cloned drisk on windows ? dreverser
2021-04-29 16:04 ` Brian Inglis
2021-04-29 16:07 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).