From owner-freebsd-arch@FreeBSD.ORG Wed Apr 16 14:06:42 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE70C37B401 for ; Wed, 16 Apr 2003 14:06:42 -0700 (PDT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A55E43F75 for ; Wed, 16 Apr 2003 14:06:42 -0700 (PDT) (envelope-from kitbsdlists@HotPOP.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 5818B22EC7C for ; Wed, 16 Apr 2003 21:00:07 +0000 (UTC) Received: from fortytwo. (ip68-109-49-234.lu.dl.cox.net [68.109.49.234]) by smtp-1.hotpop.com (Postfix) with SMTP id 521B51A019F; Wed, 16 Apr 2003 21:00:01 +0000 (UTC) Date: Thu, 17 Apr 2003 16:59:44 -0500 From: Vulpes Velox To: freebsd-arch@freebsd.org Message-Id: <20030417165944.1aa0d537.kitbsdlists@HotPOP.com> In-Reply-To: <20030416132106.GA11726@residue.ict.pwr.wroc.pl> References: <20030416132106.GA11726@residue.ict.pwr.wroc.pl> X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- cc: pepe@residue.ict.pwr.wroc.pl Subject: Re: Maximal number of vn devices X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 21:06:43 -0000 Hi! I don't know the answer to the question, but ye would probally have better luck on questions@freebsd.org. On Wed, 16 Apr 2003 15:21:06 +0200 Piotr Patronik wrote: > Hi all, > > I don't know if this is right group... > But: > I have about 200-300 CD-ROM images, that I would like to mount > and export over Samba for Windows clients. > > Now I do it with simple script: > > mknod /dev/fileN 43 N > vnconfig /dev/fileN /somewhere/fileN > mount -t cd9660 /dev/fileN /somewhere-else/fileN > > Problem is in generation of N numbers. > Now, I generate them, and I get: > > 0x1000E0 > 0x1000E8 > 0x1000F0 > 0x1000F8 > 0x200010 > 0x200018 > ... > 0x800050 > 0x800058 > 0x800060 > ... > 0x2000010 > vnconfig: VNIOCATTACH: Device busy (this message is generated by mount) > > Questions are: what is maximal number of devices I can configure, > and what is the key to generate numbers for special files. > > TIA, > > Piotr Patronik > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"