From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 06:04:03 2003 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 790A716A4B3 for ; Wed, 22 Oct 2003 06:04:03 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 959BB43FA3 for ; Wed, 22 Oct 2003 06:04:00 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id EF7123B05; Wed, 22 Oct 2003 09:03:55 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Heinrich Rebehn References: <3F95324C.4090201@ant.uni-bremen.de> From: Lowell Gilbert Date: 22 Oct 2003 09:03:55 -0400 In-Reply-To: <3F95324C.4090201@ant.uni-bremen.de> Message-ID: <44k76xe85g.fsf@be-well.ilk.org> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@FreeBSD.org Subject: Re: Automatic mounting of removable meadia X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 13:04:03 -0000 Heinrich Rebehn writes: > Is it possible to automatically mount media when they are inserted? > From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media): > > " > If your system is not configured to mount the device automatically, > you must mount the device manually. Right-click on the desktop, then > choose Disks->device-name. For example, to mount a floppy diskette, > choose Disks->Floppy. An object that represents the media is added to > the desktop. > " > > So, how can i configure FreeBSD to mount the device automatically? amd(8) > Unfortunately, the GNOME way to manually mount media via an entry in > /etc/fstab does not work under FreeBSD since the mountpoint must be > owned by the user, which is difficult to configure for a multiuser > system. No, it's not. You can either have each user have a mountpoint in their own home directory, or you can use a common mountpoint which gets forced to the ownership of the user in the login procedure (typically via fbtab(5) or the XFree86 login, e.g. xdm's GiveConsole script). You have to be careful with security, but it's not very different from letting ordinary users mount media in the first place.