Hacker News new | past | comments | ask | show | jobs | submit login

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)?




If 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.


Ahhh, no.. I was looking at line 57 and somehow missed the actual call to $2 on 59. Clear as a bell now




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: