Re: [PATCH] /dev/time for Linux, inspired by Plan 9

From: J.R. Mauro
Date: Thu Mar 12 2009 - 14:15:52 EST


On Thu, Mar 12, 2009 at 4:00 AM, David Newall <davidn@xxxxxxxxxxxxxxx> wrote:
> Bill Nottingham wrote:
>> Given the general array of current interfaces in the kernel, isn't
>> read/write of textual parameters better suited to sysfs or procfs
>> than a character device?
>
> Procfs and Sysfs are used to control devices.  Dev is used to access
> them.  Dev is the right place to fetch and set the time; having a text
> interface is beside the point.

I also think we're aiming for compatibility with Plan 9 here, which
keeps this file in /dev

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