Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for block_device (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/disk/stat_linux.go

    package disk
    
    import (
    	"bufio"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.15.md

    that it does not enforce limits, it only monitors consumption. To utilize this functionality, set the feature gate `LocalStorageCapacityIsolationFSQuotaMonitoring=true`. For ext4fs filesystems, create the filesystem with `mkfs.ext4 -O project <block_device>` and run `tune2fs -Q prjquota `block device`; XFS filesystems need no additional preparation. The filesystem must be mounted with option `project` in `/etc/fstab`. If the primary partition is the root filesystem, add `rootflags=pquota` to the...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
Back to Top