lkml.org 
[lkml]   [1998]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DEVFSv50 and /dev/fb? (or /dev/fb/? ???)
On Thu, 6 Aug 1998, Richard Gooch wrote:

>No, this isn't true. Think about hot-swappable discs. Think about
>PCMCIA. Think about USB. All cases where hardware is plugged in and
>out and you don't reboot the kernel.

So with devfs after you have connected a PCMCIA card, in some msec
automagically the right devfs device is added to /dev/ or /devfs/?

>Erm, if you just move all block devices into their own subdirectory,
>and assuming the bulk of /dev bloat is due to block devices
>(reasonable, when you consider the zillions of possible SCSI discs
>when we break the 16 disc limit), then searching through /dev/block is
>nearly as long as searching /dev with everything in it.

With the current inode scheme nobody force you to put all blocks device in
the same directory. I will use /tmp/myhd to be fast.

And the device-file lookup in the case of block devices is done only at
mount time (I hope to be right here ;-) so it' s really not importatnt and
it would be fast enough also with zillon of device in the same directory.
In production server I mount hd once a month (the power usually go down
once a month ;-).

Andrea[s] Arcangeli


-
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.altern.org/andrebalsa/doc/lkml-faq.html

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