From owner-freebsd-questions@FreeBSD.ORG Mon Sep 3 19:27:25 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF8CB16A417 for ; Mon, 3 Sep 2007 19:27:25 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30810.mail.mud.yahoo.com (web30810.mail.mud.yahoo.com [68.142.200.153]) by mx1.freebsd.org (Postfix) with SMTP id BDD7A13C48E for ; Mon, 3 Sep 2007 19:27:25 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: (qmail 21458 invoked by uid 60001); 3 Sep 2007 19:00:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=uo3PrTiwU/UDWSK0RH2OLQiu6yjkIcyf9mTwdgWujHoMFREz0/Uw8Espk8RssD54HkSCIT899o2IEs5awZEn9ucufU9xJhw7PXJUHEhB/sYsBGGllXiy1myEGg/ulqm9sBGBey7r45ROaiSDuXxm+88Xes4BvCI/sJ29269uzMc=; X-YMail-OSG: eLViBiUVM1lKqKfD82bmKI970MOrc5YhhI1dwRwUoVOgQfTI_wI4qdkpfoJv9rlD1WvccTuePvGx0_ifBy2.zWchax9U1MC94wuygIoPa1rGQuuL.W_rvEZjcmgNhw-- Received: from [209.191.88.134] by web30810.mail.mud.yahoo.com via HTTP; Mon, 03 Sep 2007 12:00:45 PDT X-Mailer: YahooMailRC/651.50 YahooMailWebService/0.7.134 Date: Mon, 3 Sep 2007 12:00:45 -0700 (PDT) From: Danielisz Laszlo To: Predrag Punosevac , Koen de Wijs , questions@freebsd.org MIME-Version: 1.0 Message-ID: <60608.18289.qm@web30810.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: auto mount xfce4 and kde X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Danielisz Laszlo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 19:27:26 -0000 This is how my rc.conf appears=0A=0A$ cat /etc/rc.conf |grep usb=0Ausbd_ena= ble=3D"YES"=0A=0A=0AI will try adding those line, thank you!=0A=0A=0A----- = Original Message ----=0AFrom: Predrag Punosevac =0ATo: Koen de Wijs ; questions@freebsd.org=0ASent: Mo= nday, September 3, 2007 9:39:48 PM=0ASubject: Re: auto mount xfce4 and kde= =0A=0ADo you have usbd=3D"YES" in your rc.conf file?=0AUSB stick should be = detected as ugen0. Read the dmesg before and after =0Ayou attach the USB-dr= ive.=0A=0AAdd perm /dev/ugen0 0666 into your devfs.conf=0Ai /dev/ugen0 /= usr/home/Username/mnt/usbstick msdosfs rw, noauto =0A0 0 into = you fstab file=0AI see no reason that the stick is not mounted automaticall= y.=0AYou already have HAL on.=0A=0A=0A=0AKoen de Wijs wrote:=0A> Mel schree= f:=0A>> On Friday 31 August 2007 09:41:23 Koen de Wijs wrote:=0A>>=0A>> = =0A>>> This week I installed FreeBSD on a computer of mine. Everything work= s=0A>>> fine but one thing I can't get working.=0A>>> Every person should b= e albe to work with the machine. The only thing=0A>>> that isn't working is= auto-mounting of cd-roms and usb-sticks. If =0A>>> KDE is=0A>>> started an= d I put a usb-stick in the computer there should appear a =0A>>> icon=0A>>>= on the desktop with the usb drive on it and that should also work for=0A>>= > cd-roms. On XFCE4 there should also appear an icon;=0A>>> =0A>>=0A>> = Don't know about XFCE4, but read on.=0A>>=0A>> =0A>>> I also added the reg= ular user to the group operators.=0A>>> =0A>>=0A>> You don't wanna do t= hat, unless it's ok with you that a user can get =0A>> read access to every= file on every disk. Operator is meant for backup =0A>> users.=0A>>=0A>> = =0A>>> What do I need to do to get it working?=0A>>> =0A>>=0A>> portins= tall desktop-bsd-tools and read the instructions about devfs, =0A>> with a = major side-note:=0A>> ntfs/fat partitions can only be mounted by root, beca= use mount =0A>> changes the owner of the disk to the underlying directory, = so it's =0A>> likely that your users cannot mount usb-sticks.=0A>> To autom= ount usb storage devices as root, have a look at usbd(8) and =0A>> usbd.con= f(5). You'll have to provide an unmounter for your users =0A>> though and i= nstruct them to unmount before removing or things go to =0A>> hell.=0A>>=0A= >> =0A>=0A>=0A>=0A> I've got everyting working right now except for the u= sb stick. I tried =0A> am-utils but I didn't lik that. Is I tried a lot of = things and read a =0A> lot and everything almost works except for the usb-s= ticks. Before I =0A> will be busy with it for a couple of hours is this the= way it should =0A> work?=0A> http://caia.swin.edu.au/reports/041130A/=0A> = This website describes how to add usb-devices but is it normal to add =0A> = an extra script with devd or is just some wierd workaround?=0A>=0A> Koen=0A= >=0A>=0A> _______________________________________________=0A> freebsd-quest= ions@freebsd.org mailing list=0A> http://lists.freebsd.org/mailman/listinfo= /freebsd-questions=0A> To unsubscribe, send any mail to =0A> "freebsd-quest= ions-unsubscribe@freebsd.org"=0A=0A________________________________________= _______=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd= .org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A=0A=0A=0A __= ___________________________________________________________________________= _______=0AShape Yahoo! in your own image. Join our Network Research Panel = today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=3D7 =0A= =0A