lkml.org 
[lkml]   [1998]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DEVFSv50 and /dev/fb? (or /dev/fb/? ???)
On Wed, 12 Aug 1998, Chris Wedgwood wrote:

> On Tue, Aug 11, 1998 at 08:15:47PM -0400, Andrew J. Anderson wrote:
> > So there is precedence for a "different" format for filesystem
> > information. (Even though I would call AIX more "like-unix" than
> > "unix-like". ;-)
> Does AIX have getmntent? If so, what does its manual page say?

Not that I can find (not saying it doesn't, but it doesn't have a man
page, and a quick `nm` of all of /lib/lib*.a didn't turn anything up).

> > I know of a busy POP server that had to increase their connection
> > rate above 40/sec, and their daemon syslog's every connection (via
> > /dev/log), so there's at least one documented case. And let's not
> > forget sendmail and ftp (in some setups), as well.
>
> I'm not sure why POP3 is using ptys, at least my code here doesn't.

No, not ptys -- /dev/log for openlog(3).

> openlog(3) is used by many many applications, but most daemon, etc.
> open the log before forking, so we see only lookup when the daemon
> starts.

Which, if it's started from inetd (as in the case of ftpd, and pop3d
among others), could be quite often, especially if you're using
tcp_wrappers. Granted, if you're running tcp_wrappers, the 1/2 second
will become background noise compared to the DNS lookups.

Just out of curiosity, could someone familiar with the SCSI layer comment
on how difficult it would be to get a one-to-one mapping between SCSI
controller/SCSI ID and major/minor numbers in a non-devfs setup? Or is
that absurd considering the limitations on the current major/minor scheme?
What I'm thinking of is something along these lines:

sda: cont 0 id 0
sdb: cont 0 id 1
sdc: cont 0 id 2
...
sdg: cont 0 id 8 (skip ID 7 since it's [normally] the card itself)
...
sdn: cont 0 id 15
sdm: cont 1 id 0
...

And to accomodate this, perhaps the SCSI layer would use a 8 bit major and
a 24 bit minor? Or am I highly deluded here?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrew Anderson http://amelia.db.erau.edu/~andrew/
if(!(family_tree=fork())){redneck=TRUE;}


-
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:1.163 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site