linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /dev Questions
@ 2003-05-01 14:56 Scott Robert Ladd
  2003-05-01 15:08 ` Michael Buesch
  2003-05-01 16:01 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Scott Robert Ladd @ 2003-05-01 14:56 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Why does /dev include devices that do not exist?

Wouldn't it be friendlier to only list existing devices?

Or am I missing something obvious?

-- 
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev Questions
  2003-05-01 14:56 /dev Questions Scott Robert Ladd
@ 2003-05-01 15:08 ` Michael Buesch
  2003-05-02 14:58   ` Scott Robert Ladd
  2003-05-01 16:01 ` Greg KH
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Buesch @ 2003-05-01 15:08 UTC (permalink / raw)
  To: Scott Robert Ladd; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 01 May 2003 16:56, Scott Robert Ladd wrote:
> Why does /dev include devices that do not exist?
>
> Wouldn't it be friendlier to only list existing devices?
>
> Or am I missing something obvious?

yea, you're missing devfs. :)

- -- 
Regards Michael Büsch
http://www.8ung.at/tuxsoft
 17:07:51 up  1:47,  2 users,  load average: 1.01, 1.09, 0.99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sTiEoxoigfggmSgRAlBIAJ4sdenCvafLdbY6WxEknH0ADxbfIgCcC8gx
c9mxkwFVdS93DLnT6tAJA9Q=
=b4Cq
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev Questions
  2003-05-01 14:56 /dev Questions Scott Robert Ladd
  2003-05-01 15:08 ` Michael Buesch
@ 2003-05-01 16:01 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-05-01 16:01 UTC (permalink / raw)
  To: Scott Robert Ladd; +Cc: Linux Kernel Mailing List

On Thu, May 01, 2003 at 10:56:12AM -0400, Scott Robert Ladd wrote:
> Why does /dev include devices that do not exist?

/dev is only a bunch of device nodes that knows nothing about any
devices physically present in the system.

devfs creates a dynamic filesystem that is managed by the kernel that
only shows the devices present in the kernel at that point in time.

udev attempts to manage a /dev partition from userspace by watching all
of the hotplug events coming from the kernel that announce device
removal and additions.

Hope this helps,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev Questions
  2003-05-01 15:08 ` Michael Buesch
@ 2003-05-02 14:58   ` Scott Robert Ladd
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Robert Ladd @ 2003-05-02 14:58 UTC (permalink / raw)
  To: Michael Buesch; +Cc: linux-kernel

Michael Buesch wrote:
 > yea, you're missing devfs. :)

Yeah, I finally figured that out. For some reason, I'd missed that item...

...as it is, I think I'll spend some time reading the Documentation 
folder. Those text files must be there for some good reason... ;)

..Scott


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-02 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 14:56 /dev Questions Scott Robert Ladd
2003-05-01 15:08 ` Michael Buesch
2003-05-02 14:58   ` Scott Robert Ladd
2003-05-01 16:01 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).