[dm-devel] dmsetup export option

Kay Sievers kay.sievers at vrfy.org
Mon Aug 20 01:12:55 UTC 2007


Here is the "export" patch we currently use to import device mapper
properties into the udev event environment.

It looks like this:
  $ dmsetup export luks
  DM_NAME=luks
  DM_STATE=ACTIVE
  DM_TABLE_STATE=LIVE
  DM_OPENCOUNT=0
  DM_LAST_EVENT_NR=0
  DM_MAJOR=254
  DM_MINOR=0
  DM_TARGET_COUNT=1
  DM_TARGET_TYPES=crypt

Alasdair, I remember vaguely while we talked about that at OLS, you
wanted to see that implemented using some other backend functions. Let
me know, if I need to change something.

Thanks,
Kay
-------------- next part --------------
An embedded message was scrubbed...
From: Kay Sievers <kay.sievers at vrfy.org>
Subject: add export command to print status in environment key-value format
Date: Mon, 20 Aug 2007 03:00:04 +0200
Size: 3944
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070820/a5a2e913/attachment.eml>


More information about the dm-devel mailing list