Re: Crazy Idea: Replacing /dev using sysfs over time

From: Diego Calleja
Date: Mon Sep 26 2005 - 18:55:40 EST


El Mon, 26 Sep 2005 19:28:18 -0400,
Shawn Starr <shawn.starr@xxxxxxxxxx> escribió:

> /sys/class/block/
> `-- sda
> |-- sda1
> | - major
> | - minor
> | - raw

With this you're adding again all the device naming linux has got ridden of
by removing devfs (it rememebers me to solaris' devfs: They have a
sysfs-like filesystem, except that things in /dev are a symbolic link to a
device file in /devices)

> Do we really need /dev other than for historical/legacy purposes?

If your intention is just to boot kernels and not run userspace on them,
then sure, it's a good idea to get rid of /dev.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/