From owner-freebsd-questions@FreeBSD.ORG Sun Mar 28 00:04:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8929116A4CE for ; Sun, 28 Mar 2004 00:04:46 -0800 (PST) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id D9AE143D2D for ; Sun, 28 Mar 2004 00:04:45 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: (snipe 13206 invoked by alias); 28 Mar 2004 08:04:42 +0900(KST) Received: from nospam@users.sourceforge.net with SpamSniper2.76 (Processed in 0.040062 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 28 Mar 2004 08:04:42 +0900(KST) X-RCPTTO: freebsd-questions@freebsd.org, Received: from users.sourceforge.net (cisr.snu.ac.kr [147.46.44.181]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id i2S80rLJ223500 for ; Sun, 28 Mar 2004 17:00:54 +0900 Message-ID: <4066871B.8010005@users.sourceforge.net> Date: Sun, 28 Mar 2004 17:04:43 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040315 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200403272013.40447.jaymo@cromagnon.cullmail.com> <200403281614.53868.malcolm.kay@internode.on.net> In-Reply-To: <200403281614.53868.malcolm.kay@internode.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: automounting cd-rom & cd-rw devices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 08:04:46 -0000 Malcolm Kay wrote: > On Sunday 28 March 2004 11:43, Jay Moore wrote: > >>2) What is the "best way" to allow ordinary users to mount cd's? >> > > > The best way is inevitably a matter of opinion. > But it can be done without installing any additional ports. > > First: > # sysctl vfs.usermount=1 > allows users to mount and then unmount drives provided other things > are in order. You can make this happen during the normal boot by adding > vfs.usermount=1 > to /etc/ sysctl.conf Remotely, I was following this discussion; I'm suprised by this solution and I wonder how I ever would be able to find out myself about this misterious sysctl-magic. I did 'apropos usermount', 'man sysctl' and 'man sysctl.conf', and all did not give me any hint to the above vfs.usermount solution. Also 'sysctl -ad | grep vfs.usermount' outputs no info. Actually, I had this feeling with other answers on this list: 'set this-or-that sysctl variable'. I never could find any info on my FreeBSD box, to help me further understand. What is this sysctl-black-magic about and where is more information? Thanks, Rob.