summaryrefslogtreecommitdiffstats
path: root/daemon/lvm.c
Commit message (Collapse)AuthorAgeFilesLines
* Generate structs and struct lists generically.Richard Jones2009-07-071-3/+3
| | | | | | | | | | | This modifies the way that struct and struct lists are generated (for return values) so that there is no need to add an explicit new type when adding a new structure. All tests pass, and the C API should be compatible. I have also inspected the changes that are made to the generated code by hand.
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* Call 'udevadm settle' after operations which add/remove device nodes.Richard W.M. Jones2009-07-011-0/+23
| | | | | | | | | | | | | Because udev operates asynchronously, we found errors which were caused by a previous command (eg. sfdisk or pvremove) creating or removing a device, and that change not having happened by the time the next command was run. This patch adds calls to '/sbin/udevadm settle' after any commands which can add or remove device nodes. If udev is not being used or not available, this should have no effect. The command fails and this is silently ignored.
* In the daemon, change all const char * parameters to char *.Richard Jones2009-06-101-12/+12
|
* Add IS_DEVICE checks for all calls which take a device parameter.Richard Jones2009-06-101-0/+12
|
* Add: lvresize, resize2fs commands.Richard Jones2009-05-181-0/+24
|
* Add vg-activate{,-all} commands, and resize recipe.Richard Jones2009-05-181-0/+39
|
* Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵Richard W.M. Jones2009-05-151-0/+18
| | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
* Fix unchecked malloc (Jim Meyering).Richard Jones2009-04-301-0/+4
|
* Implement lvremove, vgremove, pvremove.Richard Jones2009-04-251-0/+54
|
* Added test suite.Richard Jones2009-04-111-0/+131
|
* Bug fix: Trailing whitespace from 'pvs' command.Richard Jones2009-04-081-0/+6
|
* Implement simple lvs/vgs/pvs commands.Richard Jones2009-04-071-0/+115
|
* Rename pvs -> pvs-full (etc), so we can add simple pvs (etc) commands.Richard Jones2009-04-071-3/+3
|
* pvs/vgs/lvs commands working now.Richard Jones2009-04-071-0/+50