Paul Webster wrote:
> mdconfig -a -t vnode -f <path> afaik

Sorry, this does not work. 

root@newserv:~ # mdconfig -a -t vnode /dev/zvol/zroot/vm/mail/disk0
mdconfig: /dev/zvol/zroot/vm/mail/disk0 is not a regular file

There must be some other way.

> once they are mounted you could dd them 

Indeed, I can dd the volume to a regular file:

dd if=/dev/zvol/zroot/vm/mail/disk0 of=/var/tmp/rawimage bs=1m conv=sparse

and then work with the /var/tmp/rawimage (I can mdconfig it) but it's a waste
of disk space.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Attachment: signature.asc
Description: PGP signature

Reply via email to