- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for JoinMountOptions (0.38 sec)
-
pkg/volume/fc/disk_manager.go
return err } // Perform a bind mount to the full path to allow duplicate mounts of the same disk. options := []string{"bind"} if b.readOnly { options = append(options, "ro") } mountOptions := util.JoinMountOptions(options, b.mountOptions) err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil) if err != nil { klog.Errorf("Failed to bind mount: source:%s, target:%s, err:%v", globalPDPath, volPath, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3K bytes - Viewed (0) -
pkg/volume/iscsi/disk_manager.go
// new iface name is <target portal>:<volume name> b.iscsiDisk.Iface = b.iscsiDisk.Portals[0] + ":" + b.iscsiDisk.VolName } globalPDPath := manager.MakeGlobalPDName(*b.iscsiDisk) mountOptions := util.JoinMountOptions(b.mountOptions, options) err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil) if err != nil { klog.Errorf("Failed to bind mount: source:%s, target:%s, err:%v", globalPDPath, volPath, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/volume/util/util.go
moList := strings.Split(mo, ",") return JoinMountOptions(moList, options) } if len(pv.Spec.MountOptions) > 0 { return JoinMountOptions(pv.Spec.MountOptions, options) } } return options } // JoinMountOptions joins mount options eliminating duplicates func JoinMountOptions(userOptions []string, systemOptions []string) []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
pkg/volume/nfs/nfs.go
return err } source := fmt.Sprintf("%s:%s", nfsMounter.server, nfsMounter.exportPath) options := []string{} if nfsMounter.readOnly { options = append(options, "ro") } mountOptions := util.JoinMountOptions(nfsMounter.mountOptions, options) err = nfsMounter.mounter.MountSensitiveWithoutSystemd(source, dir, "nfs", mountOptions, nil) if err != nil { notMnt, mntErr := mount.IsNotMountPoint(nfsMounter.mounter, dir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/volume/local/local.go
} } // Perform a bind mount to the full path to allow duplicate mounts of the same volume. options := []string{"bind"} if m.readOnly { options = append(options, "ro") } mountOptions := util.JoinMountOptions(options, m.mountOptions) klog.V(4).Infof("attempting to mount %s", dir) globalPath := util.MakeAbsolutePath(runtime.GOOS, m.globalPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0)