Skip to contentSkip to conversation

usability of device nodes with devfs

DISCUSSION Oliver Neukum 2 participants 2 messages Jul 16, 2003 – Jul 17, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

is it a requirement that nodes created with devfs can be opened successfully from the moment the device is registered?

Regards
Oliver

#1 lore raw
Quoted 4 lines · Oliver Neukum

Hi,

is it a requirement that nodes created with devfs can be opened successfully from the moment the device is registered?

For 2.4 which has a direct connection from devfs entries to file operations this is indeed a requirement. For 2.5 devfs is merely a way to perform mknod from kernelspace so there is no such requirement. Just still have to be setup for I/O when calling register_chardev/add_disk, though.