dgilmore changed the topic of #fedora-riscv to: Fedora on RISC-V https://fedoraproject.org/wiki/Architectures/RISC-V || Logs: https://libera.irclog.whitequark.org/fedora-riscv || Alt Arch discussions are welcome in #fedora-alt-arches
jcajka has joined #fedora-riscv
leah2 has quit [Ping timeout: 272 seconds]
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):
<davidlt[m]> nice
<rwmjones> BTW you might find other plugins interesting, I'm using nbdkit-tmpdisk-plugin with my RISC-V machines for large temp directories for builds
<davidlt[m]> Can you put it on the ram? I wonder if that would make it really fast? :)
<davidlt[m]> I think there might be a plugin for that too.
<rwmjones> you can use nbdkit-memory-plugin if you want a ramdisk (however only one per server)
<rwmjones> but I trust Linux to cache the tmpdisk in RAM as required, so that's probably more useful
<rwmjones> tmpdisk also disables (ignores) flushes, which makes things about 30% faster
<davidlt[m]> That's true/
<rwmjones> it can do that because it's a temporary disk, so you should only use it for builds and stuff which can be easily recreated
<rwmjones> don't store your family photos on nbdkit-tmpdisk-plugin :-/
<davidlt[m]> hehe :)
zsun has joined #fedora-riscv
zsun has quit [Ping timeout: 248 seconds]
davidlt has joined #fedora-riscv
zsun has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
jcajka has quit [Ping timeout: 260 seconds]
jcajka has joined #fedora-riscv
jcajka has quit [Quit: Leaving]
diagprov has quit [Quit: diagprov]
diagprov has joined #fedora-riscv
drewfustini has quit []
drewfustini has joined #fedora-riscv
davidlt has quit [Ping timeout: 260 seconds]
tekkamanninja has quit [Ping timeout: 246 seconds]
diagprov has quit [Quit: diagprov]