Re: /dev/ones

Charles Cazabon (charlesc-linux@qcc.sk.ca)
Tue, 22 Dec 1998 13:37:18 -0600


Steffen Grunewald <steffen@gfz-potsdam.de> wrote:
> Charles Cazabon wrote:
> |>
> |> >> Hmmm I guess we need a /dev/one? (Actually not a bad thing to have)
> |> >
> How about /dev/minusone :-) ?
> Or /dev/allones ...

CaT <cat@zip.com.au> suggested /dev/ones, which sounds as good a suggestion
as any to me.

The big question, however, is thus: where in the kernel tree does the code
for /dev/zero live? I had a look through some obvious files, and grepped
through most of the rest. I had assumed it would be in the character mode
device drivers, but unless I'm blind (a distinct possibility) it doesn't
seem to be there.

Obviously, I'm not a kernel hacker -- but cloning /dev/zero to /dev/ones sounds
like it might be an ideal first kernel project. :)

Charles Cazabon

-- 
----------------------------------------------------
Charles Cazabon           <charlesc-linux@qcc.sk.ca>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/