]> git.proxmox.com Git - pve-container.git/commit
pct fstrim: add 'ignore-mountpoints' parameter
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 29 Oct 2020 10:09:21 +0000 (11:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 12:12:35 +0000 (13:12 +0100)
commit4590b2e44b48e96d9b212f4ef0962a5e21c53a3a
tree2215e46abad48985df3d3a9d20b537974a76fe1e
parent3e1146a0c0f205a2ec9ef99321a15d7053a82f36
pct fstrim: add 'ignore-mountpoints' parameter

parameter to ignore mountpoints when doing fstrim on a container

root@pve:~# pct fstrim 123
/var/lib/lxc/123/rootfs/: 338.7 MiB (355094528 bytes) trimmed
/var/lib/lxc/123/rootfs/test: 8.9 GiB (9576009728 bytes) trimmed
root@pve:~# pct fstrim 123 --ignore-mountpoints
/var/lib/lxc/123/rootfs/: 338.7 MiB (355094528 bytes) trimmed

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/CLI/pct.pm