Re: Suggested dual human/binary interface for proc/devfs

From: david parsons (orc@pell.portland.or.us)
Date: Fri Apr 07 2000 - 12:17:32 EST


In article <linux.kernel.200004042126.e34LQMW28770@vindaloo.ras.ucalgary.ca>,
Richard Gooch <rgooch@ras.ucalgary.ca> wrote:
>Alexander Viro writes:

>> echo 57600,8,n,1 > /dev/serial/ttyS0ctl should work.

>Well, time to throw back one of the old anti-devfs arguments:
>bloat. Parsing ASCII is a lot harder than dereferencing structure
>fields.

    But it's a easier to maintain compatability (assuming, of course,
    that you want to maintain compatability; if compatability isn't on
    your mind when you code, ascii is just as unmaintainable as binary
    data) when you're picking apart human-readable fields.

                  ____
    david parsons \bi/ SNMP would be an example of this if the people
                   \/ writing about it would put away their Captain
                       Midnight Secret Decoder Rings before putting pen
                                                               to paper.

-
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 : Fri Apr 07 2000 - 21:00:18 EST