X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail46.e.nsc.no (mail46.e.nsc.no [193.213.115.46]) by lists.alpinelinux.org (Postfix) with ESMTP id 7C75A170000BA for ; Wed, 26 Nov 2008 09:18:18 +0000 (UTC) Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail46.nsc.no (8.13.8/8.13.5) with ESMTP id mAQ9IGEh024482; Wed, 26 Nov 2008 10:18:17 +0100 (MET) Received: from mail.nor.wtbts.org (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id 54D82E1DECC4; Wed, 26 Nov 2008 10:18:16 +0100 (CET) Received: from [192.168.65.211] (nc.nor.wtbts.org [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id 34CC5E1DECC2; Wed, 26 Nov 2008 10:18:16 +0100 (CET) Subject: Re: [alpine-devel] localmount question From: Natanael Copa To: Ted Trask Cc: Alpine Developers In-Reply-To: <296061.68518.qm@web50209.mail.re2.yahoo.com> References: <296061.68518.qm@web50209.mail.re2.yahoo.com> Content-Type: text/plain Date: Wed, 26 Nov 2008 10:18:15 +0100 Message-Id: <1227691095.10321.11.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Tue, 2008-11-25 at 18:26 -0800, Ted Trask wrote: > I added a line to /etc/fstab to automatically load my harddrive. > However, when I reboot, I get an error that the mount point doesn't > exist. I had to create a stupid init script that just does a mkdir. > Can the localmount script be modified to automatically create the > mount point before calling mount? Other alternative would be to: lbu include /path/to/mymount lbu exclude '/path/to/mymount/*' and your dir would be included in the apkovl. you could have modified /etc/init.d/localmount too. lbu detect its changed and saves your version. However, since alpine is designed to run from ram, it might not be a bad idea. http://dev.alpinelinux.org/cgit/cgit.cgi/alpine-baselayout/commit/?id=d502ce6638987f0693f19c44104cdb6cd8b1be58 -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---