partuuid
This commit is contained in:
parent
05efcd637f
commit
85bc986861
1 changed files with 4 additions and 4 deletions
|
@ -471,9 +471,9 @@ function installation {
|
||||||
do
|
do
|
||||||
echo "fstab ${wort} wird erstellt!!!"
|
echo "fstab ${wort} wird erstellt!!!"
|
||||||
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
|
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
|
||||||
autodiskdeviceuuid=$(blkid -s UUID -o value ${wort})
|
autodiskdevicepartuuid=$(blkid -s PARTUUID -o value ${wort})
|
||||||
mkdir -p ${mountpoint}/run/media/user1/${autodiskdeviceuuid}
|
mkdir -p ${mountpoint}/run/media/user1/${autodiskdevicepartuuid}
|
||||||
echo "UUID=${autodiskdeviceuuid} /run/media/user1/${autodiskdeviceuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
|
echo "PARTUUID=${autodiskdevicepartuuid} /run/media/user1/${autodiskdevicepartuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -917,7 +917,7 @@ function abfrage() {
|
||||||
do
|
do
|
||||||
echo "fstab ${wort} wird erstellt!!!"
|
echo "fstab ${wort} wird erstellt!!!"
|
||||||
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
|
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
|
||||||
autodiskdeviceuuid=$(blkid -s UUID -o value ${wort})
|
autodiskdeviceuuid=$(blkid -s PARTUUID -o value ${wort})
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue