mdconfig feature request

Tobias Roth roth at iam.unibe.ch
Thu Aug 7 04:18:12 PDT 2003


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 at 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.


More information about the freebsd-current mailing list