Skip to content

register

register(major, name, ops): number

Defined in: src/fs/char_dev.ts:196

Reserve a major and publish ops for all 256 of its minors at once.

number

0 to allocate one dynamically

string

FileOperations

number

the major that ended up being used