From owner-freebsd-questions Mon Mar 27 13: 9: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nscache2.x-treme.gr (mail1.x-treme.gr [212.120.196.23]) by hub.freebsd.org (Postfix) with ESMTP id 6116C37C0B9 for ; Mon, 27 Mar 2000 13:08:54 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (pat3.x-treme.gr [212.120.197.195]) by nscache2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with ESMTP id AAA30074; Tue, 28 Mar 2000 00:08:02 +0300 Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id UAA36793; Mon, 27 Mar 2000 20:04:24 +0300 (EEST) (envelope-from charon) Date: Mon, 27 Mar 2000 20:04:23 +0300 From: Giorgos Keramidas To: Chip Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mount drives and fstab Message-ID: <20000327200422.A1015@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <00032521362000.00344@chip.homenet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00032521362000.00344@chip.homenet>; from chip@wiegand.org on Sat, Mar 25, 2000 at 09:33:50PM -0800 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: # 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