1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Revised ioctl/dmfs merge with fixes for bugs found in tests.

This commit is contained in:
Alasdair Kergon 2001-12-20 20:32:14 +00:00
parent 2041d905a9
commit 9737eb0f94

View File

@ -169,11 +169,17 @@ static int _info(int argc, char **argv)
goto out;
}
printf("state: %s\n",
printf("State: %s\n",
info.suspended ? "SUSPENDED" : "ACTIVE");
printf("open count: %d\n", info.open_count);
printf("major, minor: %d, %d\n", info.major, info.minor);
printf("number of targets: %d\n", info.target_count);
if (info.open_count != -1)
printf("Open count: %d\n", info.open_count);
printf("Major, minor: %d, %d\n", info.major, info.minor);
if (info.target_count != -1)
printf("Number of targets: %d\n", info.target_count);
r = 1;
out: