lkml.org 
[lkml]   [1998]   [Jan]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 5 Jan 1998 12:35:00 +0100
FromPavel Machek <>
SubjectRe: PROPOSAL: /proc/dev
Hi!

> > - I think this is totally wrong for programs or people that check in /dev
> >   for a device before try to open it, or at least is a mess.
> WHAT!!!  The whole point of a virtual devfs is that you can do a "ls /dev"
> to see what devices are currently accessable.  And most actions on a divice
> start with a call to open() (or mount()).


Ok. You have device 'foobar' which you can load module for. It is not
loaded, now. Which means /dev/foobar entry is not there. Now, some
broken app goes and looks if /dev/foobar exists. If it does not, it
will bail out, instead of opening it (which would cause /dev/foobar to
be loaded.)
								Pavel

-- 
Do *NOT* buy software, GNU software is and free!  		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:1.088 / U:0.160 seconds]
©2003-2008 Jasper Spaans