sys

package
v0.0.0-...-23e6066 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sys implements a sysfs filesystem.

Index

Constants

View Source
const FilesystemName = "sysfs"

FilesystemName is the name underwhich the filesystem is registered. Name matches fs/sysfs/mount.c:sysfs_fs_type.name.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, msrc *fs.MountSource) *fs.Inode

New returns the root node of a partial simple sysfs.

Types

type Dir

type Dir struct {
	ramfs.Dir
}

Jump to

Keyboard shortcuts

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