On Dienstag, 20. September 2016 16:29:02 CEST Linus Lüssing wrote: [...] > > This can be done by avoiding automatic creation of an interface when the > > command "add" is used together with the option "-M". The add would fail > > when the soft-interface disappeared for some reason and thus the > > soft-interface would not be created again with the default configuration. > > But more importantly, the "del" command can be informed with the option > > "-M" to not try to remove the soft-interface in the first place. > > Currently wondering... have you thought about maybe > memorizing when a batman-adv interface was created via the new > "new" command? And in that case then transparently avoiding the automatic > destruction. > > Would be one less parameter to memorize for the user then.
batctl would have to remember this to work and batctl is no program which is running all the time. So it has to use temporary files... no. One point here is to get rid of the batman-adv only files for creation/ destruction of itnerfaces and use the standard rtnl netlink. So I don't want to create a new interface which does this in the kernel which supports your idea. Kind regards, Sven
Description: This is a digitally signed message part.