Documentation
¶
Index ¶
Constants ¶
View Source
const ( FSBTRFS int64 = 2435016766 FSEXT4 int64 = 61267 FSXFS int64 = 1481003842 FSZFS int64 = 801189825 )
View Source
const ( FS_XFLAG_REALTIME uint32 = 0x00000001 /* data in realtime volume */ FS_XFLAG_PREALLOC uint32 = 0x00000002 /* preallocated file extents */ FS_XFLAG_IMMUTABLE uint32 = 0x00000008 /* file cannot be modified */ FS_XFLAG_APPEND uint32 = 0x00000010 /* all writes append */ FS_XFLAG_SYNC uint32 = 0x00000020 /* all writes synchronous */ FS_XFLAG_NOATIME uint32 = 0x00000040 /* do not update access time */ FS_XFLAG_NODUMP uint32 = 0x00000080 /* do not include in backups */ FS_XFLAG_RTINHERIT uint32 = 0x00000100 /* create with rt bit set */ FS_XFLAG_PROJINHERIT uint32 = 0x00000200 /* create with parents projid */ FS_XFLAG_NOSYMLINKS uint32 = 0x00000400 /* disallow symlink creation */ FS_XFLAG_EXTSIZE uint32 = 0x00000800 /* extent size allocator hint */ FS_XFLAG_EXTSZINHERIT uint32 = 0x00001000 /* inherit inode extent size */ FS_XFLAG_NODEFRAG uint32 = 0x00002000 /* do not defragment */ FS_XFLAG_FILESTREAM uint32 = 0x00004000 /* use filestream allocator */ FS_XFLAG_DAX uint32 = 0x00008000 /* use DAX for IO */ FS_XFLAG_COWEXTSIZE uint32 = 0x00010000 /* CoW extent size allocator hint */ FS_XFLAG_HASATTR uint32 = 0x80000000 /* no DIFLAG for this */ )
* Flags for the fsx_xflags field
View Source
const ( FS_IOC_FSGETXATTR uintptr = 0x801c581f // https://docs.rs/linux-raw-sys/latest/linux_raw_sys/ioctl/constant.FS_IOC_FSGETXATTR.html FS_IOC_FSSETXATTR uintptr = 0x401c5820 // https://docs.rs/linux-raw-sys/latest/linux_raw_sys/ioctl/constant.FS_IOC_FSSETXATTR.html )
Variables ¶
This section is empty.
Functions ¶
func IsSupportedFS ¶
func IsSupportedFS() (supported bool)
IsSupportedFS checks if the filesystem for the data files is supported. currently only EXT4 and XFS are supported
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.