Subject: Re: mount problems
To: Fernando y Yohara <fvillalo@sinfo.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 03/31/2002 08:02:08
On Sat, Mar 30, 2002 at 08:34:26PM -0500, Fernando y Yohara wrote:
> 1. What is a point node?  Is it the directory off / (/floppy and /cdrom in this
> case)?  How can it have multiple owners?  Right now they are owned by root since
> that is the account that created them.  Does this mean I have to create /floppy 
> and /cdrom for each user?

Yes, the point node is the directory.
What I do it have it chowned to the user logged on console. It's done by
an entry in /etc/ttyaction. I have this:
#       $NetBSD: ttyaction,v 1.1 2000/06/04 00:04:59 perry Exp $
#
# tty   action  command...
ttyE0   login   chown ${USER}.tty /dev/console /zip /cdrom
ttyE1   login   chown ${USER}.tty /dev/console /zip /cdrom
ttyE2   login   chown ${USER}.tty /dev/console /zip /cdrom
ttyE3   login   chown ${USER}.tty /dev/console /zip /cdrom
ttyE4   login   chown ${USER}.tty /dev/console /zip /cdrom

If you're using xdm you'll have to do something from
/usr/X11R6/lib/X11/xdm/{GiveConsole,TakeConsole}


> 
> 2. I changed the devices access to rw-rw--- for /fd0a and /cd0a

So only users from the group can access it. 

> 
> 3. In the man page for sysctl(8) there is no vfs.generic.usermount parameter
> listed
> Does this mean the parameter does not exist? or is not listes simply.

What release are you running ? I have it on both 1.5.2 and current ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--