mdconfig

Michael Grant mg-fbsd3 at grant.org
Fri May 27 08:51:50 PDT 2005


I'm mounting a snapshot using mdconfig, then mount like this:

mdconfig -a -t vnode -f /home/.snap/4 -u 0
mount /dev/md0 /snapshot/home

mount (with no args) shows this:

/dev/md0 on /snapshot/home (ufs, local, read-only)

# mdconfig -l -u md0
md0     vnode   23503425 KBytes

How can I see (to verify) what file md0 is based on?  Perhaps this
should be part of the mdconfig -l output?

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?

Michael Grant


More information about the freebsd-stable mailing list