Changes

Jump to: navigation, search

Ploop/Mount helpers

291 bytes added, 02:24, 21 November 2013
created
Despite the fact that ploop is not a file system, a trick exist
to make it look and feel like so -- i.e. to use usual <code>mount</code>
and <code>umount</code> commands rather than the {{Man|ploop|8}} tool.
This article describes why and how, and lists caveats it works and limitationcan be used.
== Introduction ==
== Mounting ==
 
Normally, ploop is mounted by <code>ploop mount</code> command.
You can use the following syntax to mount a ploop device and the filesystem inside it:
== Unmounting ==
NormallyTo unmount, ploop is unmounted by <code>ploop DiskDescriptor can be specified:  umount</code> commandpath/to/DiskDescriptor.xml A mount point can be used as well:  umount /mount/point == Limitations ==
But if the following is true, usual <code>Note that umount</code> can be usedonly work if:
# /etc/mtab is a separate file (not a symlink to /proc/mounts);
# mounting should have been was done using <code>mount</code> (not <code>ploop mount</code>). Otherwise, umount binary will not be able to find <code>ploop</code> as the "filesystem"field in /etc/mtab, and will not call <code>umount.ploop</code> helper. As a result,file system will be unmounted, but ploop device itself will stay mounted. == Alternative == <code>ploop mount</code> and <code>ploop umount</code> commands,as described in {{Man|ploop|8}} man page.
Any of the following can be used:== See also ==
umount /path/to/DiskDescriptor.xml* [[Ploop]] umount /mount/point* {{Bug|2817}}
[[Category: ploop]]

Navigation menu