[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how is debian filling /dev/



On 01/15/2013 02:18 AM, Bob Proulx wrote:
Michael Biebl wrote:
Am 15.01.2013 09:04, schrieb Bob Proulx:
Maroš Žilka wrote:
device files are creatied by /dev/MAKEDEV but in my debian stable
That documentation is the classic legacy way.  It has since been
completely obsoleted.  The new way is with "udev".  The goal is to
Actually, this information is outdated too.
Nowadays, the devices in /dev are created by the kernel itself using a
tmpfs callsed devtmpfs [1]. Udev only creates symlinks or applies
permissions.
[1] http://lwn.net/Articles/330985/
I stand corrected.  And I am only four years out of date! :-)
Thanks for the nice reference too.

Bob
I'm not sure about that. That article doesn't say anything about it being the "standard way" and from what I have seen udev is still pretty much part of any core Linux system and used extensively as described.

Back when I used Gentoo most times the devtmpfs system wasn't even enabled in my kernel or in its default configs. From all I can find out devtmpfs is merely an option most distributions don't actually use that much because udev already handles these things.

With udev being merged into systemd and their devs working on dropping support for non-systemd machines this may change, however, and devtmpfs may be used as one half of a new device management system for non-systemd machines.

Conrad


Reply to: