summaryrefslogtreecommitdiffstats
path: root/src/core/socket.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-22 23:17:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-30 13:45:49 +0200
commit600bf76c178a2960d6470af2c6a8c598fabd5fd9 (patch)
tree662d380b92f409abfb6b8f438848ab8d56d21428 /src/core/socket.c
parentshared/loop-util: use longer delay when waiting for loop device (diff)
downloadsystemd-600bf76c178a2960d6470af2c6a8c598fabd5fd9.tar.xz
systemd-600bf76c178a2960d6470af2c6a8c598fabd5fd9.zip
repart: Allow target directory excludes
Currently, ExcludeFiles= supports excluding directories on the host from being copied. Let's extend this to also support preventing files from being copied into specific directories in the partition by adding a new option ExcludeFilesTarget=. An example where this is useful is when setting up btrfs subvolumes in the top level that are intended to be mounted into specific locations, so /usr would be stored in @usr, /home in @home, .... To accomplish this, we need to copy /usr to @usr and prevent any files from being copied into /usr in the partition, which with this commit, we'd be able to do as follows: ``` [Partition] CopyFiles=/usr:@usr ExcludeFilesTarget=/usr ```
Diffstat (limited to 'src/core/socket.c')
0 files changed, 0 insertions, 0 deletions