Date: Thu, 7 Aug 2003 13:18:04 +0200 From: Tobias Roth <roth@iam.unibe.ch> To: James Quick <jq@quick.com> Cc: current@freebsd.org Subject: Re: mdconfig feature request Message-ID: <20030807111804.GA1348@speedy.unibe.ch> In-Reply-To: <376C86B2-C890-11D7-8364-003065C496DC@quick.com> References: <39802.1060161895@critter.freebsd.dk> <376C86B2-C890-11D7-8364-003065C496DC@quick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <devicenumber> > >> > >>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. <snip example> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030807111804.GA1348>