From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M95GZ-0003oh-R9 for garchives@archives.gentoo.org; Tue, 26 May 2009 22:37:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D79B7E04FC; Tue, 26 May 2009 22:37:02 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by pigeon.gentoo.org (Postfix) with ESMTP id BC276E04FC for ; Tue, 26 May 2009 22:37:02 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so15114438ywm.46 for ; Tue, 26 May 2009 15:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ME1HbmEJfxgyvIYqmeOFtvEnVdjLqVGc9Nje4tJkfJo=; b=Rq0eZK/fMeQXO962rBpIHD+pQn6dxN9bOXnKJjh0Qyf1lp6bM6q9dLxRvCD6O/XozG W4vNCd92mtNEGlIpqajgvOOgYQ8bDF4UCnZB1SNOVgCXlwqq4aIn2/AAb0fGhHidvUUo weghMQtn6xEq6rKkuePQF5pK4m9jAbrnZZbZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DSxgGSukm3OcD+BuH+atKQPGVn+10w2fVHWBY0XUkmeJ7ZkFCVieO6O/e1n2b017+Q 1SQJPK0/CFpAkZXlbY1kDs2L+wOmk+2IF48GWdsOTpWLL7bLpguttMvBYftl1iDt7kgK PWJwyjCJNBdsmVUj+qkkgTwNqU7RpEFFCTbKM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.150.230.1 with SMTP id c1mr17646381ybh.256.1243377422535; Tue, 26 May 2009 15:37:02 -0700 (PDT) In-Reply-To: <20090526085351.50e26080@krikkit.digimed.co.uk> References: <5bdc1c8b0905251200g2ccb7466l3008fe8a2b4c56ed@mail.gmail.com> <7c65e4a70905251223l7c87e2fas68b40ea80a60319f@mail.gmail.com> <363C78C2-06D7-48C4-9985-BB4FE2FA8583@stellar.eclipse.co.uk> <20090526085351.50e26080@krikkit.digimed.co.uk> Date: Tue, 26 May 2009 15:37:02 -0700 Message-ID: <5bdc1c8b0905261537q79353477neb5cbb733477716f@mail.gmail.com> Subject: Re: [gentoo-user] Auto-mounting USB drive? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: f0107fd6-412e-47a5-b24e-2216cff5edc5 X-Archives-Hash: d3427b1fce4183ee615278f0450b0f1b On Tue, May 26, 2009 at 12:53 AM, Neil Bothwick wrote: > On Tue, 26 May 2009 05:35:46 +0100, Stroller wrote: > >> Mark: yes, I don't see any reason NOT to address by label (e2label or >> whatever XFS / Reiser use) these days. The only thing I can think of >> is that your USB drivers or the kernel module that does USB mass- >> storage is not loaded in time during boot. Aren't there any messages >> about failed mounts amongst the kernel messages on the screen? > > That's most likely the problem, I had a similar situation trying to mount > an SD card at boot time. Two solutions are to mount the device later in > the boot sequence, from /etc/conf.d/local, or to build the necessary > modules into the kernel. Since you're mounting the USB device on boot, > there's no point in having separate modules for USB. > > > -- > Neil Bothwick Stroller & Neil, Thanks. I don't know why but I hadn't considered the idea that the USB driver would be better built into the kernel for this application. Basically, this is a little PowerPC Mac Mini that I've turned into a new HD Homerun/USB video storage MythTV backend server. I want to be pretty confident that the hard drive is mounted because the machine is headless and sitting in a corner. If someone turns it on after a power failure I don't want to have to mess around to get the external storage mounted. I don't need the drive mounted at boot time, but I certainly want it up and running before the mythbackend script gets started. If I get a power failure and someone restarts everything it could be in the middle of a previous recording and I need the partial recording to end up on USB. I'll look at building in the USB driver into the kernel and using e2label also. I did actually manage to get it working using some udev rules that I found in the forum, but I must say I don't really understand them and never thought they were necessary. I'm glad you guys are thinking the same way. Thanks, Mark