Lines 28-34
write_device()
Link Here
|
28 |
mv $dev $(echo $dev | sed -e 's/\(.*\)\(lvm.*\)_\(.*\)_\(.*\)/\1\3-\4/') |
28 |
mv $dev $(echo $dev | sed -e 's/\(.*\)\(lvm.*\)_\(.*\)_\(.*\)/\1\3-\4/') |
29 |
done |
29 |
done |
30 |
if [ -d /dev/evms/md ] && [ ! -d /dev/md ] ; then |
30 |
if [ -d /dev/evms/md ] && [ ! -d /dev/md ] ; then |
31 |
ln -s /dev/evms/md /dev/md |
31 |
mkdir -p /dev/md && mount --bind /dev/evms/md /dev/md |
32 |
fi |
32 |
fi |
33 |
for dev in $(find /dev/mapper -name '*_luks'); do |
33 |
for dev in $(find /dev/mapper -name '*_luks'); do |
34 |
ln -s "$dev" /dev/$(basename "$dev") |
34 |
ln -s "$dev" /dev/$(basename "$dev") |
35 |
- |
|
|