From owner-freebsd-scsi Tue Oct 20 13:22:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28411 for freebsd-scsi-outgoing; Tue, 20 Oct 1998 13:22:14 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28401 for ; Tue, 20 Oct 1998 13:22:12 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca9-115.ix.netcom.com [209.109.236.115]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id NAA16548; Tue, 20 Oct 1998 13:21:42 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id NAA19725; Tue, 20 Oct 1998 13:21:39 -0700 (PDT) Date: Tue, 20 Oct 1998 13:21:39 -0700 (PDT) Message-Id: <199810202021.NAA19725@silvia.hip.berkeley.edu> To: mike@smith.net.au CC: scsi@FreeBSD.ORG In-reply-to: <199810201922.MAA00566@dingo.cdrom.com> (message from Mike Smith on Tue, 20 Oct 1998 12:22:55 -0700) Subject: Re: for i in disks From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Nah, it's actually pretty trivial. I would, indeed, just iterate over * the available nodes in /dev. When devfs comes along, it'll just get * more efficient. Well yes, but what I meant to say was that there are 96 available nodes in /dev due to wired down devices, but the number in each machine could be as little as 16. That's not very efficient. ;) Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message