]> sourceware.org Git - lvm2.git/commit
devices file: rename unused system.devices 1178341937
authorDavid Teigland <teigland@redhat.com>
Mon, 5 Feb 2024 19:15:37 +0000 (13:15 -0600)
committerDavid Teigland <teigland@redhat.com>
Thu, 15 Feb 2024 17:40:37 +0000 (11:40 -0600)
commit4f9215e70f0c2c589f6d2a4ff43459901ee7d93b
tree02da0724f7f16f194046c3280733c577f89e1dcb
parente59027e4f7ad9d1c06530e58949b2c7bc403f774
devices file: rename unused system.devices

If lvm.conf has use_devicesfile=0 and /etc/lvm/device/system.devices
exists, then rename it to system.devices-unused.YYYYMMDD.HHMMSS.
This prevents an old, incorrect system.devices from being used in
the future if lvm.conf is changed to use_devicesfile=1.
lib/device/dev-cache.c
test/shell/devicesfile-basic.sh
This page took 0.038912 seconds and 5 git commands to generate.