Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2007 12:00:45 -0700 (PDT)
From:      Danielisz Laszlo <laszlo_danielisz@yahoo.com>
To:        Predrag Punosevac <punosevac@math.arizona.edu>, Koen de Wijs <koendewijs@gmx.net>, questions@freebsd.org
Subject:   Re: auto mount xfce4 and kde
Message-ID:  <60608.18289.qm@web30810.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 <punosevac@math.arizona.edu=
>=0ATo: Koen de Wijs <koendewijs@gmx.net>; 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60608.18289.qm>