Subject: Sense in vfs.generic.usermount [was mounting cdrom problems]
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Martin Weber <Ephaeton@gmx.net>
List: netbsd-help
Date: 04/17/2002 09:31:45
On Mon, Apr 15, 2002 at 09:20:28PM +0200, Manuel Bouyer wrote:
> On Mon, Apr 15, 2002 at 02:04:54PM +0200, Martin Wittwer wrote:
> > Hello NetBSD Folk!
> > 
> > I use NetBSD 1.5.2 from the iso-images. I want to mount my
> > cdrom as a normal user. My entry in fstab looks
> > like this:
> > 
> > /dev/cd0d /cdrom cd9660 noauto,ro 0 0
> > 
> > I did chmod 766 /cdrom and chmod 766 /dev/cd0d.
> > 
> > But when I try to mount the cdrom I get a error-message:
> > permission denied.
> 
> You have to be owner of /cdrom. chmod 766 isn't enouth.
> 766 is OK for /dev/cd0d.

Pardon me, but I do not understand the underlying system.
That is, the mountpoint must be mine, and I need direct
read/write access on the underlying device node (dev/cd0d)
to mount the thing ? I wonder what the sense in the
vfs.generic.usermount sysctl is then. Mind throwing some
light in that dark corner someone ?

Martin Weber