From owner-freebsd-questions@FreeBSD.ORG Fri Mar 28 07:15:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4D6106566B for ; Fri, 28 Mar 2008 07:15:22 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id 739E48FC16 for ; Fri, 28 Mar 2008 07:15:22 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.63) (envelope-from ) id 1Jf8o5-0004fs-9e for freebsd-questions@freebsd.org; Fri, 28 Mar 2008 00:15:22 -0700 Received: from 71-220-166-120.tcsn.qwest.net ([71.220.166.120] helo=.domain.actdsltmp) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Jf8o1-0004fV-05; Fri, 28 Mar 2008 00:15:17 -0700 Message-ID: <47EC9B01.3040504@math.arizona.edu> Date: Fri, 28 Mar 2008 00:15:13 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (X11/20070916) MIME-Version: 1.0 To: Norberto Meijome References: <11167f520803272322t247e6377k50446d742c498c73@mail.gmail.com> <20080328180644.15948f9c@meijome.net> In-Reply-To: <20080328180644.15948f9c@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -1.6 (-) Cc: sfourman@gmail.com, freebsd-questions@freebsd.org Subject: Re: Auto Mounting USB Sticks and CD's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 07:15:22 -0000 Norberto Meijome wrote: > On Fri, 28 Mar 2008 01:22:55 -0500 > "Sam Fourman Jr." wrote: > > >> Hello, >> >> I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22) >> I was hoping that someone had a nice HOWTO or could paste their config files. >> I want my usb sticks to auto mount when I insert them like they do on PC-BSD >> > > not sure how Gnome does it, but I would imagine it uses hald for it. u may have it installed already ( man pkg_info if u don't know ;) ). > > u need to add this to your rc.conf to have it all running on startup > > hald_enable="YES" > polkitd_enable="YES" > dbus_enable="YES" > > The HALD needs to be started in the specific order as # enable HALd dbus_enable="YES" polkitd_enable="YES" hald_enable="YES" /etc/fstab needs to be edited /dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660 rw, noauto 0 0 /dev/acd0 /usr/home/Pedja/mnt/cdrom cd9660 rw, noauto 0 0 /dev/fd0 /usr/home/Pedja/mnt/floppy msdosfs rw, noauto 0 0 /dev/ugen0 /usr/home/Pedja/mnt/camera msdosfs rw, noauto 0 0 /etc/devfs.conf neets to be edited # Allow all users to mount the floppy disk. own /dev/fd0 root:operator perm /dev/fd0 0666 # Allow members of the group operator to mount CD-ROMs. perm /dev/acd0 0666 perm /dev/cd0 0666 # Commonly used by many ports link cd0 cdrom link cd0 dvd link cd0 rdvd link acd0 cdrom link acd0 dvd link acd0 rdvd # Misc other devices perm cdrom 0666 perm dvd 0666 perm rdvd 0666 perm cd0 0666 perm ata 0666 perm xpt0 0666 perm pass0 0666 perm /dev/uscanner0 0666 perm usb* 0666 perm ulpt* 0666 perm lpt0 0666 perm ugen* 0666 also you have to add in /etc/sysctl.conf vfs.usermount=1 For USB stick also /etc/usbd.conf needs to be edited. I mount USB stick manually so figure out yourself. Either read documentation or copy important files from PC-BSD. >> I know that if I put gnome_enable in my /etc/rc.conf then it all works >> BUT, I would prefer not to use gdm on bootup >> > > Kevin replied to this. I would just add, if you want some other login manager to run, (xdm, wdm), you'd have to install them and enable them in rc.conf > > If you follow Kevin's email by the letter, you'll have to log in to the text console and launch your X session manually. > > >> I also am having trouble trying to get k3b to burn CD''s without being root >> > > man devfs.conf > > _________________________ > {Beto|Norberto|Numard} Meijome > > "Everything should be made as simple as possible, but not simpler." > Albert Einstein > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >