Subject: Re: Mounting a file (diskimage)
To: Oliver Frick <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 01/23/2000 15:24:04
On Sun, Jan 23, 2000 at 12:10:37PM +0100, Oliver Frick wrote:
> Hi all
> i have a diskimage which i want to mount under /mnt2
> On Linux, i use:
> mount -t iso9660 -o ro,loop=/dev/loop0 cd_image_file /mountpoint
> Is there a similar command in NetBSD 1.4.1 / alpha-cpu ?
vnconfig vnd0 cd_image_file
mount -r -t cd9660 /dev/vnd0c /mountpoint
> I compiled the kernel with file-system NULLFS but i think this is not
> the solution - when i use "mount -t cd9660 -o ro,loop=/dev/loop0 cdhdtape
> /mnt2" i get "mount_cd9660: -o loop: option not supported"
You need "pseudo-device vnd" for this. NULLFS is something different.
Manuel Bouyer <email@example.com>