Subject: Re: dev_t vs. VOP_MKNOD()
To: Charles M. Hannum <>
From: Frank van der Linden <>
List: tech-kern
Date: 01/17/1998 16:12:40
On Sat, Jan 17, 1998 at 05:33:35AM -0500, Charles M. Hannum wrote:
> So I noticed an interesting problem:
> # mknod foo c 4095 1048575
> # ls -l foo
> crw-r--r--  1 root  wheel    0,   0 Jan 17 05:25 foo
> # 

There's also a hack in NFSv2 that says to use a dev_t value of 0xffffffff
and a VCHR filetype if you want to create a fifo (on top of the hack
that uses a create RPC for this with the dev_t stashed into the size). So
this would also lead to problems when doing this over a NFSv2 mount.

- Frank