Re: sysfs vs. procfs, devfs vs. ufs ?

From: Robert Love
Date: Sat Nov 08 2003 - 19:29:55 EST


On Thu, 2003-11-06 at 22:28, Nico Schottelius wrote:

> what is the intention of sysfs?
> is it a replacement/addition to procfs?

sysfs is a filesystem used to export the device model (a tree of data
structures representing the devices in a system) to user-space in a
clean and efficient way.

procfs is a more generic (and less elegant) filesystem for exporting
anything to user-space.

sysfs only replaces procfs in so far as relevant interfaces, such as
those related to hardware. process information should remain in procfs.

/proc is not going anywhere.

Robert Love


-
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/