6,534
edits
Changes
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 ==
You can use the following syntax to mount a ploop device and the filesystem inside it:
== Unmounting ==
# /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.
[[Category: ploop]]