From owner-freebsd-questions@FreeBSD.ORG Mon Sep 3 18:41:04 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 719EC16A41A for ; Mon, 3 Sep 2007 18:41:04 +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 52DD913C49D for ; Mon, 3 Sep 2007 18:41:04 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.50) id 1ISGrY-0000EO-VB for questions@freebsd.org; Mon, 03 Sep 2007 11:41:30 -0700 Received: from 71-220-146-155.tcsn.qwest.net ([71.220.146.155] helo=oko.kicks-ass.net) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1ISGrU-0000E5-2J; Mon, 03 Sep 2007 11:41:24 -0700 Message-ID: <46DC54F4.7030603@math.arizona.edu> Date: Mon, 03 Sep 2007 11:39:48 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.4 (X11/20070713) MIME-Version: 1.0 To: Koen de Wijs , questions@freebsd.org References: <46D7C623.5040709@gmx.net> <200708311422.33707.fbsd.questions@rachie.is-a-geek.net> <46DC3D1F.8030904@gmx.net> In-Reply-To: <46DC3D1F.8030904@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting oko.kicks-ass.net is invalid X-Outgoing-Spam-Score: -5.9 (-----) Cc: Subject: Re: auto mount xfce4 and kde 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: Mon, 03 Sep 2007 18:41:04 -0000 Do you have usbd="YES" in your rc.conf file? USB stick should be detected as ugen0. Read the dmesg before and after you attach the USB-drive. Add perm /dev/ugen0 0666 into your devfs.conf i /dev/ugen0 /usr/home/Username/mnt/usbstick msdosfs rw, noauto 0 0 into you fstab file I see no reason that the stick is not mounted automatically. You already have HAL on. Koen de Wijs wrote: > 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 > > > _______________________________________________ > 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"