Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 1997 15:44:44 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        marcin@wrss.amp.pw.edu.pl
Subject:   Re: vnode pseudo driver
Message-ID:  <199707111344.PAA00621@CoDe.hu>
In-Reply-To: <199707041756.RAA02764@wrss.amp.pw.edu.pl> from Marcin Strzyzewski at "Jul 4, 97 12:56:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Anyone have any experience with this pseudo-driver  ?
> i compile kernel with support for it, but then vnconfig complains sth about
> address that dont exist.
> 
> I think that after setting this up i could mount a file prepared by mkisofs
> and check for any bugs.

Yes, I did it on 2.1.5, and use it for a swap file unde2 2.1.5 and 2.2.1

If I remember well:
vnconfig -c /dev/vn0c /your/cd/file
mount -r -t cd9660 /dev/vn0c /cdrom

(vnconfig -e /dev/vn0c /your/cd/file mountro=/cdrom doesn't work, because of
the incorrect file system type)

Did you make the device files with MAKEDEV vn0 ?

> Kinda similar to the Linux 'loop' device ?

I don't know.

Bye, Gabor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"



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