diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-04 15:55:13 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-04 16:37:12 +0000 |
commit | 9c299b64bb24cefafa582fe425bb65b78373d205 (patch) | |
tree | 055a385bc4271edaea1a930746d1d91ceb31a3c1 /fish/fish.c | |
parent | 6011b1f803ba7308c6a94b9bf6b7212cfccb9f42 (diff) | |
download | libguestfs-9c299b64bb24cefafa582fe425bb65b78373d205.tar.gz libguestfs-9c299b64bb24cefafa582fe425bb65b78373d205.tar.xz libguestfs-9c299b64bb24cefafa582fe425bb65b78373d205.zip |
daemon: Use a private copy of /etc/lvm so we don't modify the real config.
In the libguestfs live case we need to be careful not to modify the
real /etc/lvm/lvm.conf file (when setting the filter rule).
When the daemon starts, make a complete copy of /etc/lvm in a
temporary directory, and adjust LVM_SYSTEM_DIR to point to the copy.
All changes are made in the temporary copy.
Diffstat (limited to 'fish/fish.c')
0 files changed, 0 insertions, 0 deletions