Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2001 14:59:01 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        "William Wong" <willwong@samurai.com>
Cc:        questions@freebsd.org
Subject:   Re: vn device and ISO files
Message-ID:  <14944.49557.647299.240286@guru.mired.org>
In-Reply-To: <97974838@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
William Wong <willwong@samurai.com> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




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