[PATCH] Cygwin: include network mounts in cygdrive_getmntent.
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Feb 19 08:49:53 GMT 2025
On Feb 18 17:54, Jeremy Drake via Cygwin-patches wrote:
> On Wed, 19 Feb 2025, Lionel Cons wrote:
>
> > Does this patch cover global mounts, i.e. SMB mounted by user
> > LocalSystem on a driver letter are visible to ALL users. Local users
> > logons can override the same drive letter via per-user net use
> >
> > Example:
> > LocalSystem mounts H: to \\homeserver\disk4\users, this is visible to
> > all users in a system
> > User "lionel" mounts H: to \\lionelsserver\data\homedir, this is
> > visible to the current Logon session
GetLogicalDrives and GetLogicalDriveStringsW always show the
mounts valid and visible for the current user.
> I believe so, but it doesn't actually matter. From the Cygwin
> perspective, it would just show a mount of H: on /cygdrive/h.
...and that.
More information about the Cygwin-patches
mailing list