Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 20:04:23 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Chip <chip@wiegand.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mount drives and fstab
Message-ID:  <20000327200422.A1015@hades.hell.gr>
In-Reply-To: <00032521362000.00344@chip.homenet>; from chip@wiegand.org on Sat, Mar 25, 2000 at 09:33:50PM -0800
References:  <00032521362000.00344@chip.homenet>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000327200422.A1015>