From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 21:38:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 697A416A4CE for ; Wed, 7 Jan 2004 21:38:52 -0800 (PST) Received: from cpanel10.gzo.com (69-56-171-54.theplanet.com [69.56.171.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA66F43D48 for ; Wed, 7 Jan 2004 21:38:50 -0800 (PST) (envelope-from dany_list@natzo.com) Received: from pcp04639464pcs.gambrl01.md.comcast.net ([68.50.51.181] helo=natzo.com) by cpanel10.gzo.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.24) id 1AeSsQ-0005Wm-1m; Wed, 07 Jan 2004 23:38:38 -0600 Message-ID: <3FFCECE4.1080409@natzo.com> Date: Thu, 08 Jan 2004 00:38:44 -0500 From: Dany User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20040107181942.B4D5C5D04@ptavv.es.net> In-Reply-To: <20040107181942.B4D5C5D04@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel10.gzo.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - natzo.com cc: Ryan Sommers cc: Fabrizio Parrella cc: current@freebsd.org Subject: Re: mount / umount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 05:38:52 -0000 Kevin Oberman wrote: >>From: Fabrizio Parrella >>Date: Wed, 7 Jan 2004 09:55:42 -0500 >>Sender: owner-freebsd-current@freebsd.org >> >>tried that too: >> >>devfs ruleset 10 >>devfs rule add path "fd0*" group wheel mode 666 >>devfs rule add path "apm" group wheel mode 666 (I tried also without this >>line) >>devfs rule applyset >> >>and after the reboot.. nothing :-( >> >>fabry >> >>On Wednesday 07 January 2004 09:47 am, Ryan Sommers wrote: >> >> >>>On Wed, 2004-01-07 at 08:38, Fabrizio Parrella wrote: >>> >>> >>>>If I try to mount the floppy when I am root, everything works fine!! >>>> >>>>I tried to chmod 766 /dev/fd* , but as soon as I reboot I have the >>>>problem again. >>>> >>>>I have notice now that I cannot use also the /dev/apm when I am not the >>>>root, but I can use /dev/dsp. >>>> >>>> > >Fabrizio, > >I think you are working a bit too hard. I had similar problems and >discovered that, for this sort of simple action with no jail involvement, >the format should be much simpler. > >link cd0 cdrom >link cd0 dvd >link ttyd0 pilot >perm cd0 0666 >perm acd0 0666 >perm pass0 0666 >perm ttyd0 0666 > >This will create symlinks from /dev/dvd and /dev/cdrom to /dev/cd0 (use >acd0 if you don't use atapicam) and a symlink for /dev/piolot to the >COM0 port. > >It also changes the protections on the cd0, acd0, and pass0 devices to >global read/write. > >I think you can see what you need for your floppy. Probably: >perm fd0 0666 >perm apm 0666 (I'm not sure that you need this.) > > using configuration similar to the above one worked for me with for my CD drive but I had to add my user to the group "operator" . So you should give it a try. Dany