guerby has quit [Remote host closed the connection]
guerby has joined #fedora-riscv
leah2 has joined #fedora-riscv
<rwmjones>
morning
<davidlt[m]>
rwmjones: if one uses ndbkit with file plugin + dir=DIRECTORY to export multiple disk images will a new disk image get automatically exported if I copy it to DIRECTORY? Do I need to restart? Or maybe send a signal to update export list?
<davidlt[m]>
I am thinking about a single node with ndbkit were I regularly copy a new disk image, but nbdkit is already serving other boards. Thus I want nbdkit to pick up automatically a new disk image under that directory (or remove if file is removed from the directory).
<davidlt[m]>
hmm... I don't think it uses inotify
<rwmjones>
davidlt[m]: hi
<rwmjones>
davidlt[m]: yes
<rwmjones>
it doesn't need to use inotify because it only needs to check the directory when a client connects, and at that time it simply looks in the directory to see if the file == exportname is present
<davidlt[m]>
Ah, that's cool :) I expected that it only scans the directory as the launch it.
<rwmjones>
nah, scans on the .open operation (which is client connection):