lomount: handy for file-backed VBDs
Hey all,
This utility (from Qemu) might be useful to anyone who has multiple partitions on a file-backed VBD and wants occasionally to mount them in dom0.
http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/lomount/
You can tell it what partition to mount out of the file and it sorts out the offsets, etc. by parsing the partition table. This allows you to get around the loop driver's lack of support for partitioning.
May be useful to someone!
Mark
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 10 lines
Hey all,
This utility (from Qemu) might be useful to anyone who has multiple partitions on a file-backed VBD and wants occasionally to mount them in dom0.
http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/lomount/
You can tell it what partition to mount out of the file and it sorts out the offsets, etc. by parsing the partition table. This allows you to get around the loop driver's lack of support for partitioning.
There's also the NASA's enhanced loopback device patch:
ftp://ftp.hq.nasa.gov/pub/ig/ccd/enhanced_loopback/readme.txt
This should arguably be part of our default dom0 build.
Ian
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 9 lines · Ian Pratt
Quoted 8 lines
This utility (from Qemu) might be useful to anyone who has multiple partitions on a file-backed VBD and wants occasionally to mount them in dom0.
http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/lomount/
You can tell it what partition to mount out of the file and it sorts out the offsets, etc. by parsing the partition table. This allows you to get around the loop driver's lack of support for partitioning.
Quoted 5 lines
There's also the NASA's enhanced loopback device patch:
ftp://ftp.hq.nasa.gov/pub/ig/ccd/enhanced_loopback/readme.txt
This should arguably be part of our default dom0 build.
There's also kpartx which just uses device-mapper to create devices for each of the partitions on a loopdev.
Jeremy
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl