Re: [proposal] /dev/debug to host kcore (and others in the future)

From: H. Peter Anvin (hpa@transmeta.com)
Date: Tue Feb 22 2000 - 19:15:19 EST


Followup to: <200002222116.IAA03334@mobilix.atnf.CSIRO.AU>
By author: Richard Gooch <rgooch@atnf.csiro.au>
In newsgroup: linux.dev.kernel
>
> Tigran Aivazian writes:
> > Hi Richard,
> >
> > I thought of moving /proc/kcore to devfs and there is no obvious
> > place to put it. Why not create a /dev/debug/ and put kcore (and
> > profile) in there? In the future one can have ktrace (or whatever
> > it was called from IKD patches, can't remember).
>
> How is /proc/kcore different from /dev/kmem or one of those devices,
> anyway? (I haven't bothered to look)
>
> I'm considering moving the "memory" devices to /dev/mem anyway.
> /proc/kcore, if it is actally different, would belong there, IMO.
>

The memory devices would be inadvisable to move, since they are "well
known" device locations. ALL Unices have them. We used to have
/dev/core, for some reason it was moved to /proc/kcore for no apparent
reason, except that perhaps gdb wanted the size information.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- 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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:31 EST