Date: Sun, 17 Nov 2002 14:26:26 +0100 From: Dan Lukes <dan@obluda.cz> To: freebsd-hackers@freebsd.org Cc: dima@sinp.msu.ru Subject: Re: active vn-devices Message-ID: <3DD79902.7060106@obluda.cz> In-Reply-To: <20021115105829.S500-100000@localhost> References: <20021115105829.S500-100000@localhost> <20021115084206.GB29453@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote, On 11/15/02 09:42: > > How can I list active (i.e. configured with vnconfig) /dev/vn* devices? > > > No way. Tricky way. Try to configure each vn device - with NO file name requesting NEGATIVE size. If you got EBUSY, the device is configured. If you got EDOM, the device is free. You can also try attach an EACCESS or EPERM unaccesible file. Dan -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD79902.7060106>