From owner-freebsd-questions@FreeBSD.ORG Mon Sep 3 18:04:51 2007 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 3DBBE16A418 for ; Mon, 3 Sep 2007 18:04:51 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30803.mail.mud.yahoo.com (web30803.mail.mud.yahoo.com [68.142.200.146]) by mx1.freebsd.org (Postfix) with SMTP id 0639613C494 for ; Mon, 3 Sep 2007 18:04:50 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: (qmail 42985 invoked by uid 60001); 3 Sep 2007 17:38:09 -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:Cc:MIME-Version:Content-Type:Message-ID; b=CURl1eDFTMuYo0SqeAAXAGMGqcgW/T/bu3YY6nnsZ2OCDldX16JTG2fqoZIbG3blCyEZ1ewDXsBNPpaULhi2H7eEH968TEheamBBEEt1TqjNvnuxB9fisJ+L8ivziaeHFWxrcWzmTlMc64C+8Af4CM7f2lMSWBy+amA73HM4Zqk=; X-YMail-OSG: ji72U4YVM1klHELNsSk14VufBV7us97AmbWkI0PoHWn_4n4lh1nvG4mRXT.XRw8y4OkfYe4t9QcTLl4hOuPbGP9Gsf9ico0cu6t4b1yJQz6BnS8s_EqW2fQdYjbB1Q-- Received: from [209.191.118.120] by web30803.mail.mud.yahoo.com via HTTP; Mon, 03 Sep 2007 10:38:08 PDT X-Mailer: YahooMailRC/651.50 YahooMailWebService/0.7.134 Date: Mon, 3 Sep 2007 10:38:08 -0700 (PDT) From: Danielisz Laszlo To: Koen de Wijs , Mel MIME-Version: 1.0 Message-ID: <937069.42741.qm@web30803.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: freebsd-questions@freebsd.org 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 18:04:51 -0000 In my case mounting a USB stick simply works with mount -t msdos /dev/da0s1= /mnt/usb=0A=0A----- Original Message ----=0AFrom: Koen de Wijs =0ATo: Mel =0ACc: freebsd-que= stions@freebsd.org=0ASent: Monday, September 3, 2007 7:58:07 PM=0ASubject: = Re: auto mount xfce4 and kde=0A=0AMel schreef:=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 works=0A>> fine but one thing I can't ge= t working.=0A>> Every person should be albe to work with the machine. The o= nly thing=0A>> that isn't working is auto-mounting of cd-roms and usb-stick= s. If KDE is=0A>> started and I put a usb-stick in the computer there shoul= d appear a icon=0A>> on the desktop with the usb drive on it and that shoul= d 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 regular user to the group operators.=0A>> =0A>=0A> You don't= wanna do that, unless it's ok with you that a user can get read =0A> acces= s to every file on every disk. Operator is meant for backup users.=0A>=0A> = =0A>> What do I need to do to get it working?=0A>> =0A>=0A> portinsta= ll desktop-bsd-tools and read the instructions about devfs, with a =0A> maj= or side-note:=0A> ntfs/fat partitions can only be mounted by root, because = mount changes the =0A> owner of the disk to the underlying directory, so it= 's likely that your users =0A> cannot mount usb-sticks.=0A> To automount us= b storage devices as root, have a look at usbd(8) and =0A> usbd.conf(5). Yo= u'll have to provide an unmounter for your users though and =0A> instruct t= hem to unmount before removing or things go to hell.=0A>=0A> =0A=0A=0A=0A= I've got everyting working right now except for the usb stick. I tried =0Aa= m-utils but I didn't lik that. Is I tried a lot of things and read a =0Alot= and everything almost works except for the usb-sticks. Before I will =0Abe= busy with it for a couple of hours is this the way it should work?=0Ahttp:= //caia.swin.edu.au/reports/041130A/=0AThis website describes how to add usb= -devices but is it normal to add an =0Aextra script with devd or is just so= me wierd workaround?=0A=0AKoen=0A=0A=0A____________________________________= ___________=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.fre= ebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail= to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A=0A=0A=0A = =0A_____________________________________________________________________= _______________=0ATake the Internet to Go: Yahoo!Go puts the Internet in yo= ur pocket: mail, news, photos & more. =0Ahttp://mobile.yahoo.com/go?refer= =3D1GNXIC