go_sysutils/fsutils/types.go

42 lines
933 B
Go
Raw Permalink Normal View History

2024-01-26 09:54:46 -05:00
package fsutils
import (
`r00t2.io/goutils/bitmask`
)
type fsAttr bitmask.MaskBit
// FsAttrs is a struct representation of filesystem attributes on Linux.
2024-01-26 09:54:46 -05:00
type FsAttrs struct {
SecureDelete bool
UnDelete bool
CompressFile bool
SyncUpdate bool
2024-01-26 09:54:46 -05:00
Immutable bool
AppendOnly bool
NoDumpFile bool
NoUpdateAtime bool
IsDirty bool
CompressedClusters bool
NoCompress bool
EncFile bool
BtreeFmt bool
HashIdxDir bool
AfsDir bool
ReservedExt3 bool
NoMergeTail bool
DirSync bool
DirTop bool
ReservedExt4a bool
Extents bool
VerityProtected bool
2024-01-26 09:54:46 -05:00
LargeEaInode bool
ReservedExt4b bool
NoCOWFile bool
DAX bool
2024-01-26 09:54:46 -05:00
ReservedExt4c bool
UseParentProjId bool
CaseInsensitive bool
2024-01-26 09:54:46 -05:00
ReservedExt2 bool
}