From owner-freebsd-questions Sat Jan 13 12:59:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 22FCD37B401 for ; Sat, 13 Jan 2001 12:59:02 -0800 (PST) Received: (qmail 86128 invoked by uid 100); 13 Jan 2001 20:59:01 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14944.49557.647299.240286@guru.mired.org> Date: Sat, 13 Jan 2001 14:59:01 -0600 (CST) To: "William Wong" Cc: questions@freebsd.org Subject: Re: vn device and ISO files In-Reply-To: <97974838@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG William Wong types: > Hi there, > > I'm trying to create a image.iso file and mount it. > > I'm doing: > dd if=/dev/zero of=image.iso bs=28m count=25 > vnconfig vn0 image.iso > mount_cd9660 /dev/vn0c /mnt/location/ > > and I'm getting the error message: > mount_cd9660: Invalid argument > > I think this has something to do with either the image.iso not being > formated in the iso9660 spec. Is there a way to newfs or am I going about > this all wrong? Yup, your "image.iso" isn't a valid iso file system - it's a bunch of zeros. Use "mkisofs" (from the ports) to build an iso image to mount. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message