From owner-freebsd-current@FreeBSD.ORG Thu Aug 7 04:18:11 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D818F37B401 for ; Thu, 7 Aug 2003 04:18:11 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02-skge0.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5704B43FAF for ; Thu, 7 Aug 2003 04:18:10 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id E1C0D7640D; Thu, 7 Aug 2003 13:18:06 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 04768-01-74; Thu, 7 Aug 2003 13:18:06 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id 4663C76406; Thu, 7 Aug 2003 13:18:06 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h77BI5K05660; Thu, 7 Aug 2003 13:18:05 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h77BI4r01487; Thu, 7 Aug 2003 13:18:04 +0200 (MEST) Date: Thu, 7 Aug 2003 13:18:04 +0200 From: Tobias Roth To: James Quick Message-ID: <20030807111804.GA1348@speedy.unibe.ch> References: <39802.1060161895@critter.freebsd.dk> <376C86B2-C890-11D7-8364-003065C496DC@quick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <376C86B2-C890-11D7-8364-003065C496DC@quick.com> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: current@freebsd.org Subject: Re: mdconfig feature request X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 11:18:12 -0000 On Thu, Aug 07, 2003 at 12:32:56AM -0400, James Quick wrote: > > On Wednesday, August 6, 2003, at 05:24 AM, Poul-Henning Kamp wrote: > > >In message <20030806090253.GA23980@speedy.unibe.ch>, Tobias Roth > >writes: > >>would it be possible to add the currently attached vnode (or the > >>complete path to it) to the output of > >> > >> mdconfig -l -u > >> > >>that would simplify some things for me. > > > >That is actually somewhat tricky because the file might have been > >renamed or have multiple names. > > What about just wrapping stuff up in a shell function. of course i thought of this, and while it's possible it it still not very elegant. the reason is that i cannot write a pid file because / is not (yet) mounted rw. i can work around that with an additional rc.d/ script but i'd rather avoid that.