lkml.org 
[lkml]   [1998]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROPOSAL: /proc/dev
On Mon, Jan 05, 1998 at 12:22:15PM -0600, Michael Elizabeth Chastain wrote:
> One feature of devfs is that it gets rid of major and minor numbers.
> In some other way, /dev/foo gets associated with the foo driver.
>
> Hmmm, perhaps this advantage could be separated out and made to work
> with the existing system. A new major number of "auto-resolve" would
> cause the kernel to resolve the filename to a device driver. I don't
> know if this is a feasible idea or not.

One side effect of all this is that /dev/cdrom will _have_ to be a symlink
now. Device naming policy is now a kernel issue and no longer an admin
issue.

A second point. More a question. Under the new devfs scheme can I put
devices in other parts of the filesystem? If there are no major/minor
numbers, can I create a device file called 'core' that is really /dev/null
(without using a symlink)? Sure, symlinks work almost all of the time but
there are cases where you might want a device somewhere else.

--
[======================================================================]
[ Kevin Lentin Email: K.Lentin@cs.monash.edu.au ]
[ finger kevinl@fangorn.cs.monash.edu.au for PGP public key block. ]
[ KeyId: 06808EED FingerPrint: 6024308DE1F84314 811B511DBA6FD596 ]
[======================================================================]

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.049 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site