4 ms·
I'm missing something, what actually "executes" the command here echo "$2" > "$btrfs_path/$uuid/$uuid.cmd" Is something watching for .cmd? Is this some behavio
by spydum 11y ago
I'm missing something, what actually "executes" the command here
echo "$2" > "$btrfs_path/$uuid/$uuid.cmd"
Is something watching for .cmd? Is this some behavior of util-linux (for which, my few seconds couldn't find solid documentation on)?
- inopinatus 11y agoIf my dry read of the code is correct, that line is for the "bocker ps" routine to be able to print the command later. The run command itself is executed next, inside of ip netns exec.
- spydum 11y agoAhhh, no.. I was looking at line 57 and somehow missed the actual call to $2 on 59. Clear as a bell now