Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 08:02:58 -0700 (PDT)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Heinrich Rebehn <rebehn@ant.uni-bremen.de>
Cc:        francisv@dagupan.com, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Correct way of calling vnconfig
Message-ID:  <Pine.LNX.4.44.0206170758290.23667-100000@corten8>
In-Reply-To: <3D0DE2A4.3070207@ant.uni-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 17 Jun 2002 it looks like Heinrich Rebehn composed:

> francisv@dagupan.com wrote:
> > Hi,
> > 
> > I can't figure out why this command is not working:
> > 
> > [root@host root]# vnconfig -e vn0c /usr/local/vnodes/file \
> > mount=/usr/local/vps/mount_point
> > vnconfig: mount: Device busy
> > 
> > I can mount it if I do `vnconfig vn0 /usr/local/vnodes/file' and then `mount
> > /dev/vn0c /usr/local/vps/mount_point'
> > 

Hmm, I'm not quite sure what your initial question was but I may
be able to help for I use that command to mount an ISO image in
loopback so I can see it. 

I've put it in a script called /bin/iso so I'll just show you
the script.

#################_Begin_Script_####################

#!/bin/sh
#
/usr/sbin/vnconfig vn0 /usr/home/wiliweld/ljcd2.iso
/sbin/mount_cd9660 /dev/vn0c /mnt/test/

#################_End_Script_####################

So I just type "iso" at the prompt and it mounts the iso image
called "ljcd2.iso on the mount point called "/mnt/test/" 

-- 
|<--------------------------------72---------------------------------->|
Bill Schoolcraft            
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v
http://forwardslashunix.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0206170758290.23667-100000>