btrfs

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// from Linux/include/uapi/linux/magic.h
	BTRFS_SUPER_MAGIC = 0x9123683E

	// from Linux/include/uapi/linux/fs.h
	FS_NOCOW_FL     = 0x00800000
	FS_IOC_GETFLAGS = 0x80086601
	FS_IOC_SETFLAGS = 0x40086602
)

Variables

This section is empty.

Functions

func IsBtrfs

func IsBtrfs(path string) bool

IsBtrfs checks whether the file is in btrfs

func SetNOCOWFile

func SetNOCOWFile(path string) error

SetNOCOWFile sets NOCOW flag for file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL