You are not logged in.

#1 2012-06-12 22:19:55

smohr
Member
Registered: 2012-05-29
Posts: 33

[solved] automatically mount crypted partitions

Hey!

I have an encrypted partition on my extern esata drive. I'd like it is automatically mount it on plugging in the drive.
For that I have found an tutorial (unfortunately in German) about how to do it with udev:
http://michael.stapelberg.de/Artikel/au … setup_udev

But I'm using systemd, so this do not work this way.
Can anybody explain me, how it will be done with systemd? I have to write a systemd unit file, haven't I?

Thank you very much for some advices?

Last edited by smohr (2012-07-27 12:44:23)

Offline

#2 2012-06-13 11:33:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [solved] automatically mount crypted partitions

You can use a udev rule even if you use systemd.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2012-07-27 12:44:05

smohr
Member
Registered: 2012-05-29
Posts: 33

Re: [solved] automatically mount crypted partitions

I have solved it. Thank you Mr.Elendig!

For running more than one command in your udev rules, it is necessary to execute them in a bash script and connect them with &&.

Offline

Board footer

Powered by FluxBB