Re: how to label encrypted partitions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dirk,

> I have the following udev rules defined for my usb devices:
>
: [snip]
> # USB Stick SanDisk 1GB
> SUBSYSTEMS=="usb", KERNEL=="sd*", ATTRS{product}=="Cruzer Micro",
> ATTRS{serial}=="2005173991167CA2BF93", SYMLINK="usb/stick%n"
>

For a single PC it might not matter to hardwire vendor and
serial number of your USB stick in udev/rules.d, as you have
shown. But if you have to manage 80 Linux PCs, and if you would
like to give your users an option to mount "their" encrypted usb
sticks on any PC, then you might imagine that the effort to
hardwire vendor and serial number of every USB stick of every
user in the udev rules on every PC is too high. It sucks.

I would like to mount _any_ encrypted usb stick without being
root, and without having to look for what became of the "%n"
in the SYMLINK option. The procedure I would like to have would
be: The user plugs in his USB stick, runs "mount /usb" (or
maybe "luksmount /usb"), enters the passphrase, and then it is
mounted. When he has done his job he runs "umount /usb", waits
for the LED, and pulls it out. GUI support would be nice-to-have,
but command line support is must-have.

For not encrypted usb sticks this procedure is no problem. How
comes that it cannot be implemented for encrypted filesystems?


Regards

Harri

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux