From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 20:32:17 2008 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 A4ACF1065686 for ; Tue, 30 Sep 2008 20:32:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 701A48FC1F for ; Tue, 30 Sep 2008 20:32:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 346ADAFBC02; Tue, 30 Sep 2008 12:32:16 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2008 22:32:14 +0200 User-Agent: KMail/1.9.7 References: <20080929212736.70634956@Picasso.Zahemszky.HU> <200809292213.09877.fbsd.questions@rachie.is-a-geek.net> <20080930214320.22d70064@Picasso.Zahemszky.HU> In-Reply-To: <20080930214320.22d70064@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809302232.15062.fbsd.questions@rachie.is-a-geek.net> Cc: Zahemszky =?iso-8859-2?q?G=E1bor?= Subject: Re: Writing hald .fdi files 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: Tue, 30 Sep 2008 20:32:17 -0000 On Tuesday 30 September 2008 21:43:20 Zahemszky G=E1bor wrote: > Mon, 29 Sep 2008 22:13:09 +0200 -n > > Mel =EDrta: > > On Monday 29 September 2008 21:27:36 Zahemszky G=E1bor wrote: > > > So my question: how can I make an .fdi file, which tells to these > > > "automounters": > > > > > > if this is device X from vendor Y, mount it with mount option XY! > > > > Add a noauto mountpoint to /etc/fstab, with all the correct options. > > > > Though, hal is one of those projects that sparked my sig - too many > > ways to possibly do it, not enough straight ways to really do it. > > So, maybe check this too: > > http://www.freebsd.org/gnome/docs/halfaq.html#q3 > > Hi! > > Thanks for your help, but it doesn't work. I read your mail, and that > faq - btw, yo suggested to put that device info fstab, that faq suggest > the opposite of that. Yeah, I just saw that. I distinctly remember a pkg-message from a port that= =20 said the opposite.=09 > I tried this line in /etc/fstab (this is line 13.) > > /dev/msdosfs/VERBATIM /home/zgabor/VERBATIM > msdosfs large,noauto 0 0 Just to make sure, mount /home/zgabor/VERBATIM works with this line? > - and tried it with /media/VERBATIM, /media, /mnt neither of them > worked. I got the next error box: > > fstab: /etc/fstab:13: Inappropriate file type or format > fstab: /etc/fstab:13: Inappropriate file type or format > org.freedesktop.Hal.Device.Volume.UnknownFailure > > I tried it with a "none" string as the mountdir, didn't work, too. No idea, I see 'large' is=20 in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi, under= =20 vfat allowed options. Maybe you should match on device/vendor string, rather then glabel device=20 node. I've been using devd succesfully, since I last battled with hal, so I= 'm=20 out of answers. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part.