From 33c0d79d872b01eca800afa1d013ffe4adc56998 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 13 Dec 2013 01:57:39 +0100 Subject: Updated disk/by-id lines for external drives in lopen --- .zsh.after/functions.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 8831257..5867ce4 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -224,10 +224,10 @@ function tar_tlz { function lopen () { case $1 in "music") - sudo cryptsetup luksOpen /dev/disk/by-uuid/b2a8c89e-22f3-4e16-bdd3-ef4bcac8ed4f $1 + sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE152RS $1 ;; "photos") - sudo cryptsetup luksOpen /dev/disk/by-uuid/b3c5a842-474b-4c2f-a246-abebe1da3450 $1 + sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE457TN $1 ;; esac sudo mount /dev/mapper/$1 /mnt/$1 -- cgit v1.2.3-70-g09d2