Re: DevFS vs. udev

From: Bradley W. Allen (ULMO_at_Q.NET)
Date: 12/23/03

  • Next message: Andreas Haumer: "ACPI: problem on ASUS PR-DLS533"
    To: linux-kernel@vger.kernel.org
    Date:	Tue, 23 Dec 2003 03:51:58 -0800
    
    

    DevFS was written by an articulate person who solved a lot of
    problems. udev sounds more like a thug who's smug about winning,
    not explaining himself, saying things like "oh, the other guy
    disappeared, so who cares, you have to use my code, too bad it sucks".

    Just by what the udev people have said I have decided never to use it,
    and to return to DevFS. Thank god for linux-kernel archives.

    A few points:

    * User space is slow, causing all sorts of extra work for device
       accesses.
    * Another layer of filesystem for udev to have to interact with
       is also slow, especially if it has to be disk based with all sorts
       of extra caches, and also if it's with buggy tmpfs code and layers.
    * Most of the interesting devices I have now are character devices,
       and have multiple potential /dev entries per device. I've heard
       that udev can't even handle that requirement!
       Udev has lots of other problems, like something called an anonymous
       device, and it not being fully implemented, however, that's OK for
       development. We're in 2.6.0, now, so that's not OK! DevFS has been
       solid for over half a decade, so it belongs in stable kernels.
    * Many times a broken record comes out with claims. Here are a few:
       "... there are still unfixable devfs bugs in the code." without
       any examples, so I don't believe him (Greg K-H). Others have looked
       and not found that.
    * Userspace is not the proper place for kernel device drivers or
       anything they need to work.
    * We do not need the same old maintainer for devfs. We can create
       new code, and maintain old code, as a group, ourselves.
    * Greg K-H (what that dash is for I can't imagine) claims that DevFS
       is experimental and proof of concept; well, it has been in production
       use for over half a decade, which in the life of Linux is pretty long.
       It's certainly not just some experiment any more.
    * Greg K-H refers to "hahahaha" and "the OLS paper" and "sysfs",
       things that most Linux kernel compilers, linux-kernel readers, and
       DevFS users (including lots of admins) have probably never ever
       heard of except the bad attitude of the hahaha part.
    * Someone named viro said "the latter had stayed, period" refering to
       udev, which means absolutely nothing, but expected it to mean
       something.
    * Viro also said that devfs had been "shoved" into the tree, and
       that it "had stayed around for many months". It's been stable for
       many *YEARS*, for most of a *DECADE*.

    I've spent two hours on this problem, and that's absurd; stable shouldn't
    be doing this sort of thing to us. Yes, we know there are things that
    happen during transition from development to stable, but to have some
    terrorist hijack part of the kernel and destroy it right at the begin-
    ing of stable is simply criminal thinking. Luckily, this is just
    software, so we can do what we want with it, but organizationally it
    is conceptually just as bad.
    -
    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: Andreas Haumer: "ACPI: problem on ASUS PR-DLS533"

    Relevant Pages

    • Re: DevFS vs. udev
      ... udev sounds more like a thug who's smug about winning, ... It's time for the USERS to rise up and speak. ... I think I speak for most people on this list when I say that the kernel ... NEEDS people like you like we need devfs itself. ...
      (Linux-Kernel)
    • Re: devfs vs udev, thoughts from a devfs user
      ... into sysfs, what about a little thought experiment. ... contest is basically the same thing for the kernel. ... devfs is just one more filesystem of many. ... But again, you're talking about udev and devfs, when you ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] udev 021 release
      ... >> This item keeps coming up as the one feature that devfs has and udev ... > to one where the proper modules are loaded when the hardware is found. ... Of course I sometimes need my kernel to adapt to new hardware and with ... If udev support for yet undriven but present hardware is so hard to ...
      (Linux-Kernel)
    • devfs vs udev FAQ from the other side
      ... Presuppositions (True of both udev and devfs): ... its other names should be symlinks. ... kernel, then enabled hotplug and sysfs for udev to run. ...
      (Linux-Kernel)
    • Re: [GIT PATCH] Remove devfs from 2.6.12-git
      ... > that udev was the official future path of the linux kernel? ... people who want dynamic /dev and persistant naming can use. ... > overridable policy in udev rather than in devfs, ...
      (Linux-Kernel)