[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-kern
Subject: re: Device node creation when major number is dynamically allocated
From: matthew green <mrg () eterna ! com ! au>
Date: 2014-06-27 8:40:37
Message-ID: 19945.1403858437 () splode ! eterna ! com ! au
[Download RAW message or body]
> But doesn't mknod automagically know the driver's major number from
> its name? I always used to do:
>
> mknod /dev/foo0 c foo 0
>
> And 'foo' got automatically resolved to the proper major number.
> Does that work for modules too?
oh, it should!
i forgot about this. nice.
(it uses kern.drivers :-)
.mrg.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic