Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for Mount_info (0.15 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go

    	F_fsid        Fsid
    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go

    	F_fsid        Fsid
    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go

    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go

    	F_fsid        Fsid
    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package mountinfo
    
    // mountInfo - This represents a single line in /proc/mounts.
    type mountInfo struct {
    	Device  string
    	Path    string
    	FSType  string
    	Options []string
    	Freq    string
    	Pass    string
    }
    
    func (m mountInfo) String() string {
    	return m.Path
    }
    
    // mountInfos - This represents the entire /proc/mounts.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux_test.go

    		}
    		mp := mountInfo{"/dev/0", "/path/to/0", "type0", []string{"flags"}, "0", "0"}
    		if !mountPointsEqual(mounts[0], mp) {
    			t.Errorf("got unexpected mountInfo[0]: %#v", mounts[0])
    		}
    		mp = mountInfo{"/dev/1", "/path/to/1", "type1", []string{"flags"}, "1", "1"}
    		if !mountPointsEqual(mounts[1], mp) {
    			t.Errorf("got unexpected mountInfo[1]: %#v", mounts[1])
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    	for scanner.Scan() {
    		s := strings.Split(scanner.Text(), " ")
    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_linux.go

    }
    
    func findMountInfo(path, mountInfoPath string) (mount.MountInfo, error) {
    	infos, err := mount.ParseMountInfo(mountInfoPath)
    	if err != nil {
    		return mount.MountInfo{}, err
    	}
    
    	// process /proc/xxx/mountinfo in backward order and find the first mount
    	// point that is prefix of 'path' - that's the mount where path resides
    	var info *mount.MountInfo
    	for i := len(infos) - 1; i >= 0; i-- {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_others.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package mountinfo
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. internal/mountinfo/mountinfo_linux.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package mountinfo
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    )
    
    const (
    	// Number of fields per line in /proc/mounts as per the fstab man page.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top