[Lunar-commits] <moonbase> lvm2: cleanup dangling symlinks on removal

Paul Bredbury brebs at lunar-linux.org
Sun Jan 16 09:28:46 CET 2011


commit 3002890b5097b12ef1d4f48df81b30409bceaf90
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sun Jan 16 15:28:46 2011 +0700

    lvm2: cleanup dangling symlinks on removal
---
 filesys/lvm2/POST_REMOVE |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/filesys/lvm2/POST_REMOVE b/filesys/lvm2/POST_REMOVE
new file mode 100644
index 0000000..e919036
--- /dev/null
+++ b/filesys/lvm2/POST_REMOVE
@@ -0,0 +1,3 @@
+# Remove dangling symlinks
+cd /sbin &&
+rm -f lvmchange lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit


More information about the Lunar-commits mailing list