Subject: Re: Don't know how to mount iso9660 image file
To: Nguyen Thanh Bien <vampire@vietel.com.vn>
From: =?ISO-8859-1?Q?Mikael_Nystr=F6m?= <m.s.nystrom@comhem.se>
List: netbsd-users
Date: 07/22/2003 11:37:41
Nguyen Thanh Bien wrote:

> Hi all !
> i've just install NetBSD 1.6.1 for this 1st time..so i don't know how 
> to do many thing :(
> but one of them this mounting an iso9660 image file (cd image)
> in Linux i type: mount -o loop -t iso9660 myfile.iso /mymountpoint, 
> but in NetBSD, it not work
>
> please help me !
>
> PS: sorry about my english
>
> Bien
>
>
>
>
You can add a tag in the /etc/fstab:
/dev/cd0a /mnt cd9660 ro,noauto 0 0
Then just type mount /mnt.

Or just:
mount -t cd9660 -r /dev/cd0a /mnt

To be able to mount filesystems as a user type:
sysctl -w vfs.generic.usermount=1
You must own the mountingpoint and have permission to read the specific 
device that
you want to mount.
You could also add the folowing in the /etc/sysctl.conf(if you don't 
want to type it over and over:
vfs.generic.usermount=1


-- 
Mikael Nyström
m.s.nystrom@comhem.se

==================================================
Some say that living on this planet is expensive,
but that includes a free trip around the sun every
year.

-Unknown
==================================================