From owner-freebsd-questions Mon Mar 27 14:25:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tungsten.btinternet.com (tungsten.btinternet.com [194.73.73.81]) by hub.freebsd.org (Postfix) with ESMTP id 5E78037B52B for ; Mon, 27 Mar 2000 14:25:23 -0800 (PST) (envelope-from mark@ukug.uk.freebsd.org) Received: from [213.1.109.173] (helo=parish.my.domain) by tungsten.btinternet.com with esmtp (Exim 2.05 #1) id 12ZhwN-0007Sh-00; Mon, 27 Mar 2000 23:24:56 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id XAA01210; Mon, 27 Mar 2000 23:25:01 +0100 (BST) (envelope-from mark) Date: Mon, 27 Mar 2000 23:25:01 +0100 From: Mark Ovens To: Giorgos Keramidas Cc: Chip , freebsd-questions@freebsd.org Subject: Re: mount drives and fstab Message-ID: <20000327232501.C233@parish> References: <00032521362000.00344@chip.homenet> <20000327200422.A1015@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000327200422.A1015@hades.hell.gr>; from keramida@ceid.upatras.gr on Mon, Mar 27, 2000 at 08:04:23PM +0300 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 27, 2000 at 08:04:23PM +0300, Giorgos Keramidas wrote: > On Sat, Mar 25, 2000 at 09:33:50PM -0800, Chip wrote: > > > I tried to add 'auto' into my fstab for my floppy entry so it would > > automatically detect ufs or msdos filesystems, but that apparently is > > not supported. > > There is *no* 'auto' option, as far as I can tell from fstab(5) manpage. > Try creating different mount points. For instance I use: > The fstab(5) manpage does say to see the ``-o'' option in the mount(8) manpage for option details and that lists ``noauto'' which implies that auto is the default although it doesn't (can't?) be used explicitly (it actually says that ``noauto'' causes ``mount -a'' to skip that entry). Sysinstall adds it for floppies and CD-ROM: /dev/cd0c /cdrom cd9660 ro,noauto 0 0 > # mkdir -p /floppy/ufs > # mkdir -p /floppy/msdos > # mkdir -p /floppy/ext2 > > and have the proper entries in my fstab. Then I choose which type of > filesystem the floppy will be mounted with: > > # mount /floppy/ufs > > or something similar. > > > I also tried to add 'user' to the options list and that also appears > > not supported. > > This is considered by a lot of people to be a security violation, and it > is disabled by default. There is no fine-grained per-filesystem control > (like what you did in linux) but you can enable mounting of devices by > setting: > > # sysctl -w vfs.usermount=1 > > > Both of these work on my linux boxes, how can I do the same thing on > > FreeBSD? I have to su to mount a floppy and access a floppy. > > Err, well, sorry to say that, but this is not linux. There are a few > differences. You have quite correctly spotted two of them ;) > > -- > Giorgos Keramidas, < keramida @ ceid . upatras . gr> > See the headers of this message for my public key fingeprint. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Seminars, n.: From "semi" and "arse", hence, any half-assed discussion. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message