lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch-2.3.47] /proc/driver/microcode -> /dev/cpu/microcode
On Tue, 22 Feb 2000, George wrote:
> For all these things being moved to /dev from /proc, are major/minors going
> to be created so people can use on-disk /dev or shall it be a "tough, use
> devfs" attitude?

Hi George,

All these things under discussion do not require major/minor numbers
because they are just regular files, e.g. /proc/cpuinfo or
/proc/driver/rtc. Although I agree with Richard that "devfs" is the best
name for devfs, it creates a tiny bit of misconception that it is only for
device nodes. But devfs_register() allows to create both regular files and
device nodes, look at its declaration and read the comments around it.

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans