From 85bc98686175547741389965543860745d535b28 Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 16 Jul 2018 01:11:15 +0200 Subject: [PATCH] partuuid --- arch-install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch-install b/arch-install index c14385b..c3a62ef 100755 --- a/arch-install +++ b/arch-install @@ -471,9 +471,9 @@ function installation { do echo "fstab ${wort} wird erstellt!!!" autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort}) - autodiskdeviceuuid=$(blkid -s UUID -o value ${wort}) - mkdir -p ${mountpoint}/run/media/user1/${autodiskdeviceuuid} - echo "UUID=${autodiskdeviceuuid} /run/media/user1/${autodiskdeviceuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab + autodiskdevicepartuuid=$(blkid -s PARTUUID -o value ${wort}) + mkdir -p ${mountpoint}/run/media/user1/${autodiskdevicepartuuid} + echo "PARTUUID=${autodiskdevicepartuuid} /run/media/user1/${autodiskdevicepartuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab done @@ -917,7 +917,7 @@ function abfrage() { do echo "fstab ${wort} wird erstellt!!!" autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort}) - autodiskdeviceuuid=$(blkid -s UUID -o value ${wort}) + autodiskdeviceuuid=$(blkid -s PARTUUID -o value ${wort}) done