Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 16:59:44 -0500
From:      Vulpes Velox <kitbsdlists@HotPOP.com>
To:        freebsd-arch@freebsd.org
Cc:        pepe@residue.ict.pwr.wroc.pl
Subject:   Re: Maximal number of vn devices
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pepe@residue.ict.pwr.wroc.pl> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030417165944.1aa0d537.kitbsdlists>