From owner-freebsd-questions Thu Jul 18 13:52:47 2002 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 4660E37B400 for ; Thu, 18 Jul 2002 13:52:43 -0700 (PDT) Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF1643E67 for ; Thu, 18 Jul 2002 13:52:41 -0700 (PDT) (envelope-from smazerski@yahoo.co.jp) Received: from ianb.local (pD9E0EB72.dip.t-dialin.net [217.224.235.114]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id WAA01914; Thu, 18 Jul 2002 22:52:35 +0200 (MEST) Content-Type: text/plain; charset="iso-8859-1" From: Steve Mazerski To: dan@slightlystrange.org, freebsd-questions@freebsd.org Subject: Re: /cdrom for normal users? Date: Thu, 18 Jul 2002 20:54:07 +0200 X-Mailer: KMail [version 1.4] References: <3D386AED1B47D411A94300508B11F18703BC5BCF@fmsmsx116.fm.intel.com> <20020718180952.GA10283@catflap.home.slightlystrange.org> In-Reply-To: <20020718180952.GA10283@catflap.home.slightlystrange.org> Cc: "Balaji, Pavan" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207182054.07296.smazerski@yahoo.co.jp> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 18 July 2002 20:09, Daniel Bye wrote: > On Thu, Jul 18, 2002 at 07:15:10AM -0700, Balaji, Pavan wrote: > > By default, cdrom is /dev/acd0c is only mountable by root in FreeBSD.= You > > can make it mountable by normal users by changing the /etc/fstab entr= y to > > users,ro,noauto > > > > /dev/acd0c /cdrom cd9660 users,ro,noauto 0 = =20 > > 0 > > Hmm, just edited my /etc/fstab to look like this, and I get a different > message: > > cd9660: -o users: option not supported That's what I got when I borrowed the relevent line from my Linux /etc/fstab. Being a hopeless beginner I presumed this was a naive error on my part and discretely forgot to mention it. > However, google brought me this: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FL= OPPY >MOUNT Thanks, but been there, done that (see my original mail). So, what's up? At the moment things look like this? localuser@localhost > uname -a FreeBSD localhost.local 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Sun Jul 14=20 17:14:44 CEST 2002 root@localhost.local:/usr/src/sys/compile/KERNEL_1= =20 i386 (I recompiled the kernel for ext2fs support) root# sysctl -a | fgrep vfs\.usermount vfs.usermount: 1 localuser@localhost > ls -ld /cdrom drwxrwxr-x 2 root wheel 512 Jul 14 18:10 /cdrom localuser@localhost > ls -l /dev/acd0c crw-rw---- 4 root operator 117, 0 Jul 14 18:15 /dev/acd0c localuser@localhost > groups localuser wheel operator localuser@localhost > cat /etc/fstab | fgrep cdrom /dev/acd0c /cdrom cd9660 ro,noauto,users 0 0 localuser@localhost > mount /cdrom=20 cd9660: -o users: option not supported localuser@localhost > mount -t cd9660 /dev/acd0c ~/cdrom=20 localuser@localhost > ls ~/cdrom EULA README RedHat autorun GPL RPM-GPG-KEY TRANS.TBL (well, it was the first one I had to hand ;-) Any ideas? Just wondering... (I may of course be overlooking something). S.Mazerski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message