- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for QuotaIDIsInUse (0.14 sec)
-
pkg/volume/util/fsquota/common/quota_common_linux.go
// Negative value for bytes means that a non-enforcing quota // should be applied (perhaps by setting a quota too large to // be hit) SetQuotaOnDir(path string, id QuotaID, bytes int64) error // QuotaIDIsInUse determines whether the quota ID is in use. // Implementations should not check /etc/project or /etc/projid, // only whether their underlying mechanism already has the ID in // use.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux_impl.go
func (v linuxVolumeQuotaApplier) GetInodes(_ string, id QuotaID) (int64, error) { return getQuantity(v.mountpoint, id, "-i", 1, v.allowEmptyOutput) } // QuotaIDIsInUse checks whether the specified quota ID is in use on the specified // filesystem func (v linuxVolumeQuotaApplier) QuotaIDIsInUse(id QuotaID) (bool, error) { bytes, err := v.GetConsumption(v.mountpoint, id) if err != nil { return false, err } if bytes > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 9.1K bytes - Viewed (0)