severity 539823 wishlist thanks On Mon, Aug 03, 2009 at 09:02:58PM +0100, Anton Ivanov wrote: > Package: nbd-client > Version: 1:2.9.11-3 > Severity: important
Please. Severity inflation is a good way to lose your credibility. It is not a bug, as it is not about functionality that ostensibly would be there but isn't. It is a wishlist item, since it describes functionality that you would wish is there, but isn't. > I am trying to specify -persist as default and there does > not seem to be any sensible way to do it short of editing the init.d script > Same for -timeout or -swap > > Suggestion there should be an extra variable in the config file > NBD_OPTIONS[$i] which supplies this information I was going to close this bug outright with a message of "it's right there," but apparently it isn't. It *used* to exist in nbd-server, until I changed that so it would parse a real config file (which is far superior). At the time, nbd-client didn't have much options, but these days it does. I'm inclined to agree that such an option could be useful, but nbd-client's command line parsing code is pretty horrible (it's on my long-term TODO list to fix that), and the options are positional (i.e., using "nbd-client bs=1024k 192.168.0.1 1234 /dev/nbd0" will work, but specifying the blocksize after the device won't; likewise, -persist and -sdp and friends need to be specified last, and will break if specified first). Allowing to specify these options with the introduction of just one variable per export isn't going to work; it would require a bit more, and would get rather ugly rather quick. I'm not sure what the best way is to fix this. Patches are welcome, however. -- The biometric identification system at the gates of the CIA headquarters works because there's a guard with a large gun making sure no one is trying to fool the system. http://www.schneier.com/blog/archives/2009/01/biometrics.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org