Re: [RFD w/info-PATCH] device arguments from lookup, partion code

From: Aaron Lehmann (aaronl@vitelus.com)
Date: Sat May 19 2001 - 13:45:11 EDT

  • Next message: Aaron Lehmann: "Re: [RFD w/info-PATCH] device arguments from lookup, partion code inuserspace"

    On Sat, May 19, 2001 at 06:48:19PM +0200, Erik Mouw wrote:
    > One of the fundamentals of Unix is that "everything is a file" and that
    > you can do everything by reading or writing that file.

    But /dev/sda/offset=234234,limit=626737537 isn't a file! ls it and see
    if it's there. writing to files that aren't shown in directory listings
    is plain evil. I really don't want to explain why. It's extremely
    messy and unintuitive.

    It would be better to do this with a file that does exist, for example
    writing something to /proc/disks/sda/arguments. Then again, I don't
    even think much of dynamic file systems in the first place.
    -
    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/



    This archive was generated by hypermail 2b29 : Sat May 19 2001 - 13:50:41 EDT