> David Woodhouse wrote:
> > Actually, I'd prefer it to forcibly grab a handle on MKDEV(5,1) in
> > that case rather than failing to boot.
> Know how to do that code wise? I've wanted this since 2.0...
Basically, you fake open_namei - Fake a dentry, fake an inode, set i_rdev to
MKDEV(5,1), set i_op to &chrdev_inode_operations, call i_op->open().
I'm not sure about how to fake the dentry, but it ought to be possible somehow.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:27 EST