From owner-freebsd-gnome@FreeBSD.ORG Thu Oct 7 11:50:29 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC5AD16A4CE for ; Thu, 7 Oct 2004 11:50:29 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4088543D1D for ; Thu, 7 Oct 2004 11:50:29 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1CFWmx-0001BG-KR; Thu, 07 Oct 2004 15:50:27 +0400 From: Vladimir Grebenschikov To: Franz Klammer In-Reply-To: <41652770.8040308@webonaut.com> References: <41652770.8040308@webonaut.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 07 Oct 2004 15:50:26 +0400 Message-Id: <1097149827.1248.29.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: gnome Subject: Re: gnome 2.8 Changes for FAQ: 19. How do I mount my removable media in Nautilus? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 11:50:29 -0000 =F7 =DE=D4, 07/10/2004 =D7 13:24 +0200, Franz Klammer =D0=C9=DB=C5=D4: > gnome 2.8 hase some changes in handling of usermounting > removerable volumes and i think that should be added to the FAQ. ... > 2. there are naming conventions of the mounting points: > (relative to e.g.: /usr/home/username/mnt/) > CD-ROMS =3D> cdrom > CD-RW =3D> cdrw > Memory Sticks =3D> memstick > and so on ... >=20 > without that nautilus didn't work correctly. > i had hours with trying and trubles until figured this out... :-( >=20 > attached the gnomevfs-function where i found all the names. oops, why ? Why gnome team to not use gnome config to store this matching ? > 3. (maybe) OT question: when i insert my memory stick the access right se= t > for the device created by usbd (/dev/da0s1) don't allow access from a > normal user. currently i helped my with a dirty trick: >=20 > adding to /etc/devfs.conf: > perm da0s1 0666 >=20 > and to /etc/usbd.conf: > device "MEGA" > devname "umass0" > attach "/bin/sleep 5; /etc/rc.d/devfs restart" >=20 > if there is a (which i'm sure there is) a good solution that > should also be added to the FAQ. I guess it is much better to use devfs.rules file: % cat /etc/devfs.rules [devfsrules_common=3D7] add path 'da*' mode 660 group operator add path 'acd*' mode 660 group operator add path 'cd*' mode 660 group operator add path 'pass*' mode 660 group operator add path 'xpt*' mode 660 group operator % fgrep devfs /etc/rc.conf devfs_system_ruleset=3D"devfsrules_common" %=20 This approach configures device permission on devfs on adding drive automatically, also with ATA-based (or any other not-USB) memory stick there is no USB attach event.=20 ('operator' group can be changed to 'cdrom' or like) > here to see how it looks like two screenshots of "Computer": > http://webonaut.com/temp/unmounted.png > http://webonaut.com/temp/mounted.png > =20 >=20 > franz. --=20 Vladimir B. Grebenchikov vova@fbsd.ru