Re: Implementing SQL on files

From: Måns Rullgård (mru_at_kth.se)
Date: 02/14/04

  • Next message: Ross Dickson: "Re: [PATCH] 2.6, 2.4, Nforce2, Experimental idle halt workaround instead of apic ack delay."
    To: linux-kernel@vger.kernel.org
    Date:	Sat, 14 Feb 2004 17:04:07 +0100
    
    

    Anuradha Ratnaweera <anuradha@linux.lk> writes:

    > Hi all,
    >
    > I am starting to write some code to add a feature which I think would be
    > very useful, and like to get comments and suggessions from LKML. Please
    > ignore this mail if it sounds like nonsense ;-)
    >
    > Also, if this is already happenning somewhere, please enlighten me.
    >
    > Short version: This feature will add a "table" file type and SQL
    > executioin premitives to the kernel, and also relevent userspace
    > programs.

    Things like SQL belong in user space.

    [...]

    > Using the userspace tools, one can create a "table" file (say
    > maintainers), and insert the data to that file. Each file (or may be
    > filesystem) has two characters (or strings) associated with them: field
    > seperator and record seperator. Say, colon and newline. If I cat the
    > file:
    >
    > % cat maintainers
    > David Weinehall:2.0
    > Alan Cox:2.2
    > Marcelo Tosatti:2.4
    > %
    >
    > Now, if I want to add something to the table, either I can use the
    > relevenet userspace tools, but the following also will work.
    >
    > % echo 'Linus Torvalds:2.6' > maintainers

    /etc/passwd

    -- 
    Måns Rullgård
    mru@kth.se
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Ross Dickson: "Re: [PATCH] 2.6, 2.4, Nforce2, Experimental idle halt workaround instead of apic ack delay."