You are not logged in.

#1 2008-08-25 15:10:05

TornadoTDi
Member
Registered: 2008-06-12
Posts: 8

external USB encryption key (dm-crypt and luks) - help!

Hi, I've been following the 'System Encryption with LUKS for dm-crypt' wiki during my new laptop install - but am stuck on one bit.

On this line:

echo 'KERNEL=="sd*", ATTRS{serial}=="$SERIAL", SYMLINK+="$SYMLINK%n"' > /etc/udev/rules.d/8-usbstick.rules

What do I put in for the $SYMLINK%n ? is this a link to /dev/sd .. something? Or is it a name for the device?

Many thanks in advance for any help!

Last edited by TornadoTDi (2008-08-27 13:04:10)

Offline

#2 2008-08-25 21:30:18

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: external USB encryption key (dm-crypt and luks) - help!

I may be wrong, but I don't think you need to put anything there, just leave that line the way it is


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-08-26 12:12:02

TornadoTDi
Member
Registered: 2008-06-12
Posts: 8

Re: external USB encryption key (dm-crypt and luks) - help!

Thanks for your reply. The wiki page does say:

"Replace $SYMLINK and $SERIAL with their respective values. %n will expand to the partition (just like sda is subdivided into sda1, sda2, ...).".

Now, the $SERIAL part can be obtained, but it's not clear what form the $SYMLINK variable is in...

Offline

Board footer

Powered by FluxBB