Date: Mon, 03 Sep 2007 18:58:07 +0200 From: Koen de Wijs <koendewijs@gmx.net> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: auto mount xfce4 and kde Message-ID: <46DC3D1F.8030904@gmx.net> In-Reply-To: <200708311422.33707.fbsd.questions@rachie.is-a-geek.net> References: <46D7C623.5040709@gmx.net> <200708311422.33707.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mel schreef: > On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: > > >> This week I installed FreeBSD on a computer of mine. Everything works >> fine but one thing I can't get working. >> Every person should be albe to work with the machine. The only thing >> that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is >> started and I put a usb-stick in the computer there should appear a icon >> on the desktop with the usb drive on it and that should also work for >> cd-roms. On XFCE4 there should also appear an icon; >> > > Don't know about XFCE4, but read on. > > >> I also added the regular user to the group operators. >> > > You don't wanna do that, unless it's ok with you that a user can get read > access to every file on every disk. Operator is meant for backup users. > > >> What do I need to do to get it working? >> > > portinstall desktop-bsd-tools and read the instructions about devfs, with a > major side-note: > ntfs/fat partitions can only be mounted by root, because mount changes the > owner of the disk to the underlying directory, so it's likely that your users > cannot mount usb-sticks. > To automount usb storage devices as root, have a look at usbd(8) and > usbd.conf(5). You'll have to provide an unmounter for your users though and > instruct them to unmount before removing or things go to hell. > > I've got everyting working right now except for the usb stick. I tried am-utils but I didn't lik that. Is I tried a lot of things and read a lot and everything almost works except for the usb-sticks. Before I will be busy with it for a couple of hours is this the way it should work? http://caia.swin.edu.au/reports/041130A/ This website describes how to add usb-devices but is it normal to add an extra script with devd or is just some wierd workaround? Koen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46DC3D1F.8030904>