Commit graph

5 commits

Author SHA1 Message Date
Olga Kornievskaia
42be031364 [mount] adding security option to PrintUsage 2011-04-29 14:48:03 -04:00
Casey Bodley
d1683ac060 mount: fix remote name parsing to allow ipv6 addrs
instead of searching for the first :, use strrchr to find the last

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2011-03-22 14:48:17 -04:00
Casey Bodley
25ef4d25bb mount: make persist optional on mount, default to false
added -p argument to nfs_mount.exe to make the mount persist over reboots

when -p is specified, we pass the flag CONNECT_UPDATE_PROFILE to WNetUseConnection(): "If this bit flag is set, the registry will store the connection information and make it available when the system reboots."

Signed-off-by: Casey Bodley <cbodley@umich.edu>
2010-10-12 10:35:57 -04:00
Casey Bodley
62fa60a83a mount: nfs_mount -d removes persistent connections
bug: connections created through 'net use' or 'map network drive' are not fully removed by 'nfs_mount -d'.  the UNMOUNT upcall completes successfully, but the mount remains visible in net use and windows explorer; the next attempted use of the drive will send a new MOUNT and continue normally

solution: added flag CONNECT_UPDATE_PROFILE to WNetCancelConnection2(): "The system updates the user profile with the information that the connection is no longer a persistent one."

Signed-off-by: Casey Bodley <cbodley@umich.edu>
2010-10-12 10:35:56 -04:00
Casey Bodley
0ad4db4fad fresh git tree for public release
we regretfully had to remove our git history for licensing reasons

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2010-10-12 10:15:48 -04:00