]> sourceware.org Git - lvm2.git/commit
dmsetup: Add concise table output format.
authorAlasdair G Kergon <agk@redhat.com>
Tue, 25 Jul 2017 00:13:14 +0000 (01:13 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 25 Jul 2017 00:13:14 +0000 (01:13 +0100)
commit5fd7c0aa3340a58318d0bcfb0ae5aeb9924881f6
tree6810667d2a027677a30c8369698b86dfeebc704f
parentca71ad0d5025d2d01eb9666368c1da7db3c9c7ce
dmsetup: Add concise table output format.

Create a new table output format that concisely shows multiple devices
on one line.

dmsetup table --concise [device...]

<dev_name>,<uuid>,<flags>[,<table>]*[;<dev_name>,<uuid>,<flags>[,<table>]*]*

Table lines are separated by commas.
Devices are separated by semi-colons.
Flags is currently 'ro' or 'rw' (and might be extended in a
yet-to-be-defined way in future).
Any comma, semi-colon or backslash within a field is quoted by a
preceding backslash.

The format can later be supplied as input to dmsetup or even to the
booting kernel as an alternative way to set up devices.

Based on patches submitted by
Enric Balletbo i Serra <enric.balletbo@collabora.com>.
WHATS_NEW_DM
man/dmsetup.8_main
tools/dmsetup.c
This page took 0.038485 seconds and 5 git commands to generate.