Editing Ploop/Mount helpers
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Despite the fact that ploop is not a file system, a trick exist | Despite the fact that ploop is not a file system, a trick exist | ||
− | to make it look and feel like so | + | 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. | and <code>umount</code> commands rather than the {{Man|ploop|8}} tool. | ||
− | This article describes how | + | This article describes why and how, and lists caveats and limitation. |
== Introduction == | == Introduction == | ||
Line 21: | Line 21: | ||
== Mounting == | == 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: | You can use the following syntax to mount a ploop device and the filesystem inside it: | ||
Line 42: | Line 44: | ||
== Unmounting == | == Unmounting == | ||
− | + | Normally, ploop is unmounted by <code>ploop umount</code> command. | |
− | + | But if the following is true, usual <code>umount</code> can be used: | |
+ | # /etc/mtab is a separate file (not a symlink to /proc/mounts); | ||
+ | # mounting should have been done using <code>mount</code> (not <code>ploop mount</code>). | ||
− | + | Any of the following can be used: | |
+ | umount /path/to/DiskDescriptor.xml | ||
umount /mount/point | umount /mount/point | ||
− | + | [[Category: ploop]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: |