Commit Graph

10 Commits

Author SHA1 Message Date
Jing Xu
37cdee17ee Remove driver letter assignment during volume format
This PR removes the driver letter assignment during volume format and
mount because driver letter might run out and cause issues during mount.
Intead, it uses volume id to mount the target dir.
2020-09-01 23:01:32 -07:00
Jing Xu
a9ea36e54e Revert "Merge pull request #166 from jingxu97/May/drivename"
This reverts commit 278ece378a5054f16a07622b51ddaf82b328d6e6, reversing
changes made to 2df71ebbae66f39338aed4cd0bb82d2212ee33cc.
2020-09-01 23:01:32 -07:00
andyzhangx
029074ef67 chore: add more logging for mklink on Windows
use volumeID var
2020-09-01 23:01:32 -07:00
andyzhangx
91a87aa690 fix: remove unnecessary readlink check in IsLikelyNotMountPoint on Windows
fix build failure

fix comments

fix build failure

fix comments
2020-09-01 23:01:32 -07:00
Jing Xu
eec07e05ba Remove driver letter assignment during volume format
This PR removes the driver letter assignment during volume format and
mount because driver letter might run out and cause issues during mount.
Intead, it uses volume id to mount the target dir.
2020-09-01 23:01:32 -07:00
Davanum Srinivas
f5bb1d9860 Switch to klog v2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
Matt Boersma
d37a1749ed Fix windows MountSensitive error 2020-09-01 23:01:32 -07:00
saad-ali
6a662180ac Fix mount_windows build error 2020-09-01 23:01:32 -07:00
saad-ali
8dd4fc79dc Introduce paramater for sensitive mount options.
Introduce optional sensitiveOptions parameter to allow sensitive mount
options to be passed in a separate parameter from the normal mount
options and ensures the sensitiveOptions are never logged.
2020-09-01 23:01:32 -07:00
Travis Rhoden
0abe151fe8 Extract pkg/util/mount and drop BUILD
Preserving git history.
2020-09-01 23:01:32 -07:00