Mailing List Archive

/dev/rtc creation
Hi,

I have tried to create /dev/rtc and have got the error:

# mknod c /dev/rtc 10 135
mknod: invalid device type `/dev/rtc'
Try `mknod --help' for more information.

My system is/use gentoo-dev-sources, udev, nptl. What have I missed?

Andrew

--
gentoo-user@gentoo.org mailing list
Re: /dev/rtc creation [ In reply to ]
> My system is/use gentoo-dev-sources, udev, nptl. What have I missed?

The order of your arguments is wrong. From 'man mknod':

mknod [options] name {bc} major minor
mknod [options] name p

You used:
mknod [options] {bc} name major minor

--
gentoo-user@gentoo.org mailing list
Re: /dev/rtc creation [ In reply to ]
Sorry, forget this msg. It's my typo. Must be 'mknod /dev/rtc c 10 135'

---------- Original Message ----------
I have tried to create /dev/rtc and have got the error:

# mknod c /dev/rtc 10 135

--
gentoo-user@gentoo.org mailing list
Re: /dev/rtc creation [ In reply to ]
Did you include that in your kernel?

On Sat, 2 Oct 2004, Andrew Gaydenko wrote:

> Hi,
>
> I have tried to create /dev/rtc and have got the error:
>
> # mknod c /dev/rtc 10 135
> mknod: invalid device type `/dev/rtc'
> Try `mknod --help' for more information.
>
> My system is/use gentoo-dev-sources, udev, nptl. What have I missed?
>
> Andrew
>
> --
> gentoo-user@gentoo.org mailing list
>

--
Brett I. Holcomb

--
gentoo-user@gentoo.org mailing list