Date: Wed, 25 May 2011 14:32:48 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Oliver Pinter <oliver.pntr@gmail.com> Cc: Kostik Belousov <kostikbel@gmail.com>, "svn-src-stable@freebsd.org" <svn-src-stable@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-stable-8@freebsd.org" <svn-src-stable-8@freebsd.org> Subject: Re: svn commit: r222274 - stable/8/sys/kern Message-ID: <201105251432.48118.hselasky@c2i.net> In-Reply-To: <BANLkTimTTdtUftCx4dOuix5u7_Vac4S_sw@mail.gmail.com> References: <20110525114753.GY48734@deviant.kiev.zoral.com.ua> <BANLkTimTTdtUftCx4dOuix5u7_Vac4S_sw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 25 May 2011 14:07:10 Oliver Pinter wrote: > this or likely this script is enough for test? > > ---8<--- > #!/bin/csh > > @ a = 100 > > while ( $a ) > foreach i ( "umass" "cdce" "foo" "bar" ) > kldload $i& > end > > foreach i ( "umass" "cdce" "foo" "bar" ) > kldunload $i& > end > @ a-- > end > ---8<--- Hi, Have you thought about: /usr/ports/multimedia/cuse4bsd ? Create some threads and: struct cuse_dev * cuse_dev_create(const struct cuse_methods *mtod, void *priv0, void *priv1, uid_t, gid_t, int permission, const char *fmt, ...) This function creates a new character device according to the given parameters. This function returns a valid cuse_dev structure pointer on success or NULL on failure. The device name can only contain a-z, A-Z, 0-9, dot, / and underscore characters. and void cuse_dev_destroy(struct cuse_dev *) This functions destroys a previ- ously created character device. Should also work under FreeBSD 7.x from what I know. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105251432.48118.hselasky>