OpenELEC / unofficial-addons

OpenELEC unofficial addons
79 stars 125 forks source link

Updated truecrypt.sh to accept encrypted drives #164

Open olehj opened 7 years ago

olehj commented 7 years ago

Previous script only accepts encrypted partitions and not the entire drive. This change will make drives like sda, sdb, hda etc. become visible for mounting. Since the label does not exist on encrypted drives (as they are seen as an unformatted drive), we use the ID instead (/dev/disk/by-id) which provides some information to locate the correct drive.