svn commit: r222274 - stable/8/sys/kern

Hans Petter Selasky hselasky at c2i.net
Wed May 25 12:44:06 UTC 2011


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


More information about the svn-src-stable-8 mailing list