mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
1ed34e88aa
o Add support to use specified minor number to library and dmsetup.
28 lines
358 B
C
28 lines
358 B
C
/*
|
|
* Copyright (C) 2001 Sistina Software (UK) Limited.
|
|
*
|
|
* This file is released under the LGPL.
|
|
*/
|
|
|
|
struct target {
|
|
uint64_t start;
|
|
uint64_t length;
|
|
char *type;
|
|
char *params;
|
|
|
|
struct target *next;
|
|
};
|
|
|
|
struct dm_task {
|
|
int type;
|
|
char *dev_name;
|
|
|
|
struct target *head, *tail;
|
|
|
|
int read_only;
|
|
int minor;
|
|
struct dm_ioctl *dmi;
|
|
char *newname;
|
|
};
|
|
|