dev

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: 19 Imported by: 0

Documentation

Overview

Package dev provides a filesystem with simple devices.

Index

Constants

View Source
const FilesystemName = "devtmpfs"

FilesystemName is the name underwhich the filesystem is registered. Name matches drivers/base/devtmpfs.c:dev_fs_type.name.

Variables

This section is empty.

Functions

func New

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

New returns the root node of a device filesystem.

Types

type Dev

type Dev struct {
	ramfs.Dir
}

Dev is the root node.

Jump to

Keyboard shortcuts

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