mdconfig

Dima Dorfman dd at freebsd.org
Sun May 29 05:48:15 PDT 2005


Michael Grant <mg-fbsd3 at grant.org> wrote:
> # mdconfig -l -u md0
> md0     vnode   23503425 KBytes

-current has support for showing the file name:

  # mdconfig -lu0
  md0     vnode     3.0M  /home/dima/test

I don't know when this will be MFC'd.

> Furthermore, could we have that info when we run mount (with no args)
> and df?  Or might that break something that depends on their output?

The file name used for the disk is not a property of the file system,
so it would be inappropriate to show it in mount. It will point to
md0, however, and mdconfig can tell you how it's backed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050529/7e5d3ae2/attachment.bin


More information about the freebsd-stable mailing list