OSDN Git Service

parted: when printing, also print the new disk flags
authorBrian C. Lane <bcl@redhat.com>
Sat, 28 Jan 2012 00:59:03 +0000 (16:59 -0800)
committerJim Meyering <meyering@redhat.com>
Thu, 2 Feb 2012 15:01:31 +0000 (16:01 +0100)
commitc8bfc459ecc6b3809dd17df55918174bfc68c07d
treedb79e360ac2ac018223b0f9a3657c702555b14b4
parenta73918ea6d9477ac3e8dad11ed62c87aecc49714
parted: when printing, also print the new disk flags

This adds a 'Disk Flags:' line the displays the active disk flags.
In machine mode this is appended to the disk info line, after the
device model.

* parted/parted.c (disk_print_flags): New function
(_print_disk_info): Add Disk Flags information.
parted/parted.c