2003-11-07 03:28:55

by Nico Schottelius

[permalink] [raw]
Subject: sysfs vs. procfs, devfs vs. ufs ?

Hello!

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

devfs is obsoleted, where can I switch ufs on?
what does it look like?

Nico


2003-11-09 00:29:08

by Robert Love

[permalink] [raw]
Subject: Re: sysfs vs. procfs, devfs vs. ufs ?

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