*BSD News Article 71131


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!cs.utexas.edu!news.sprintlink.net!news-stk-200.sprintlink.net!news.mathworks.com!newscaster-1.mcast.net!informatik.uni-bremen.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with vnode needed.
Date: 15 Jun 1996 17:45:45 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <4puss9$84e@uriah.heep.sax.de>
References: <Pine.BSD.3.91.960608145318.14152A-100000@unian.kiev.ua>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Charlie <zsv@unian.freenet.kiev.ua> wrote:

>   Tell me please, how can i make filesystem in a file. 

vnconfig -s labels -c /dev/rvn0 /path/to/file
disklabel -Brw vn0 auto   (*)
disklabel -e vn0  [edit your partitions]
newfs -d0 /dev/rvn0a

(*) ``auto'' requires 2.2-current, or a recent 2.1-stable.  For
earlier systems, you have to setup an entry in /etc/disktab.

>   And how tell Kernel to use some like 'c:\user\zsv\rootfs.dat' as rootfs. 

No idea on this, i don't have a dos f/s.  I don't think it's even
possible, since the vnode driver requires a previous vnconfig to work,
so it's not possible to use it as root f/s.  You could analyze the way
the boot kernels are done, and experiment with a MFS root file system
however.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)