From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 4 06:47:21 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6987516A400; Tue, 4 Apr 2006 06:47:21 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 452B443D5D; Tue, 4 Apr 2006 06:47:20 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.6/8.13.6) with ESMTP id k346lO3e025634; Tue, 4 Apr 2006 02:47:24 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Alex Dupre In-Reply-To: <44321277.7040904@FreeBSD.org> References: <1144042356.824.16.camel@shumai.marcuscom.com> <4430BA79.2030403@freebsd.org> <44316387.1090609@FreeBSD.org> <44321277.7040904@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jlpxhHw54azR2Ne8475e" Organization: FreeBSD, Inc. Date: Tue, 04 Apr 2006 02:47:18 -0400 Message-Id: <1144133238.9725.32.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: hackers@FreeBSD.org, Colin Percival Subject: Re: RFC: Adding a ``user'' mount option X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 06:47:21 -0000 --=-jlpxhHw54azR2Ne8475e Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote: > Joe Marcus Clarke wrote: > > What I'd like to achieve is a simple out-of-the-box way of mounting > > media such as CDs, and floppy disks without users necessarily needing t= o > > know about sysctl. While I can't speak for KDE, I know GNOME already > > has the ability to detect user-mountable media, and gives the users > > icons on the desktop to mount said volumes. >=20 > I don't know what exactly you mean with 'detect user-mountable media', > but a KDE user may have desktop icons for every device/fs listed in > /etc/fstab. I assume GNOME works in a similar way. And clicking on the > icon of course will mount the media with the 'mount' command. KDE also > monitor changes to the fstab file and can open a dialog window when a > new media appears, but since the fstab file is not automatically updated > on FreeBSD (I don't know how it works exactly on Linux) this feature is > quite useless. GNOME works in a similar fashion. Currently if vfs.usermount=3D1, FreeBSD scans the fstab list, and if the mount point is owned by the current user, it adds an icon for it. For dynamic updates, Linux has mtab. For FreeBSD (in GNOME, that is), we just periodically check for changes in the list of available file systems. Joe >=20 > -- > Alex Dupre >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-jlpxhHw54azR2Ne8475e Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEMhZ2b2iPiv4Uz4cRAic2AJ9ftowGRrX5/S0WWZuS0WvSCkdowwCdEW8m /5Yf9Ur9/2Fyon7dA2JVGZ8= =1CMU -----END PGP SIGNATURE----- --=-jlpxhHw54azR2Ne8475e--