Skip to content

DebugLink

Defined in: src/fs/debugfs.ts:106

Something in debugfs. Unlike sysfs, entries are not tied to kobjects: whoever creates one holds onto it and hands it back to debugfs_remove.

new DebugLink(name, parent, target): DebugLink

Defined in: src/fs/debugfs.ts:109

string

DebugDir | undefined

string

DebugLink

DebugEntry.constructor

mode: number = 0o777

Defined in: src/fs/debugfs.ts:107

The permissions on this entry, without a file type

DebugEntry.mode


name: string

Defined in: src/fs/debugfs.ts:51

DebugEntry.name


readonly optional parent?: DebugDir

Defined in: src/fs/debugfs.ts:48

Only the root has none

DebugEntry.parent


target: string

Defined in: src/fs/debugfs.ts:112

get contents(): string

Defined in: src/fs/debugfs.ts:117

string


get path(): string

Defined in: src/fs/debugfs.ts:60

The path of this entry, relative to the root of debugfs

string

DebugEntry.path

[dispose](): void

Defined in: src/fs/debugfs.ts:71

void

DebugEntry.[dispose]


dispose(): void

Defined in: src/fs/debugfs.ts:67

Take this entry out of debugfs. This is debugfs_remove.

void

DebugEntry.dispose


rename(name): void

Defined in: src/fs/debugfs.ts:75

string

void

DebugEntry.rename