Skip to content

Commit

Permalink
Add a hook to create lvm links see dracutdevs/dracut#2561
Browse files Browse the repository at this point in the history
  • Loading branch information
Geertsky committed Dec 12, 2023
1 parent 63b6cef commit a607a11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 94bambini/create-lvm-links.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/sh
LVMLINKS="lvchange lvconvert lvcreate lvdisplay lvextend lvmconfig lvmdevices 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 vgimportclone vgimportdevices vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit"
cd /usr/sbin
for L in $LVMLINKS; do
ln -s lvm "$L"
done

0 comments on commit a607a11

Please sign in to comment.