DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Aaron Lewis <aaron.lewis1989@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Problem with udev and dmcrpyt
Date: Fri, 16 Jul 2010 13:26:33 +0200	[thread overview]
Message-ID: <4C4041E9.9040909@redhat.com> (raw)
In-Reply-To: <4C403F3E.9030509@gmail.com>

On 07/16/2010 01:15 PM, Aaron Lewis wrote:

>> The "name" is whatever you call it when you run cryptsetup luksOpen (or
>> create). The file system inside the volume can be identified by UUID as
>> any file system can.
> 
> For example ? With udev rules or dmcrypt configurations ?

See ehat dm udev rules is doing - using DM_NAME attribute to create symlinks etc.
There is nothing special needed for dm-crypt - DM rules are common.

ls /lib/udev/rules.d/*-dm-*
/lib/udev/rules.d/11-dm-lvm.rules
/lib/udev/rules.d/13-dm-disk.rules
/lib/udev/rules.d/95-dm-notify.rules

(on my Gentoo test system)

No need to hack udev rules yourself and reinvent the wheel.

Milan

  reply	other threads:[~2010-07-16 11:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16  2:44 [dm-crypt] Problem with udev and dmcrpyt Aaron Lewis
2010-07-16  7:42 ` Milan Broz
2010-07-16 10:53   ` Aaron Lewis
2010-07-16 11:00     ` Thomas Bächler
2010-07-16 11:15       ` Aaron Lewis
2010-07-16 11:26         ` Milan Broz [this message]
2010-07-16 11:59           ` Aaron Lewis
2010-07-16 13:24             ` Milan Broz
2010-07-16 15:22               ` Aaron Lewis
2010-07-16 11:20     ` Milan Broz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C4041E9.9040909@redhat.com \
    --to=mbroz@redhat.com \
    --cc=aaron.lewis1989@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox