i'm not the most intelligent linux user/person in general, so perhaps i'm doing something stupid
i upgraded from nbd 2.9.15 to 2.9.16 and nbd-client -c doesn't return the correct value when the device is disconnected, m...@mybox:/opt/nbd-2.9.15$ sudo make install blah blah blah m...@mybox:/opt/nbd-2.9.15$ nbd-client -c /dev/nbd0 m...@mybox:/opt/nbd-2.9.15$ echo $? 1 m...@mybox:/opt/nbd-2.9.15$ sudo make uninstall blah blah blah m...@mybox:/opt/nbd-2.9.15$ cd ../nbd-2.9.16 m...@mybox:/opt/nbd-2.9.16$ sudo make install blah blah blah m...@mybox:/opt/nbd-2.9.16$ nbd-client -c /dev/nbd0 m...@mybox:/opt/nbd-2.9.16$ echo $? 0 m...@mybox:/opt/nbd-2.9.16$ sudo nbd-client mynbdserver 666 /dev/nbd0 Negotiation: ..size = 335544320KB bs=1024, sz=335544320 m...@mybox:/opt/nbd-2.9.16$ nbd-client -c /dev/nbd0 2732 m...@mybox:/opt/nbd-2.9.16$ echo $? 0 m...@mybox:/opt/nbd-2.9.16$ sudo nbd-client -d /dev/nbd0 Disconnecting: que, disconnect, sock, done m...@mybox:/opt/nbd-2.9.16$ nbd-client -c /dev/nbd0 m...@mybox:/opt/nbd-2.9.16$ echo $? 0 as you can see, nbd-2.9.15 returns the correct results, and nbd-2.9.16 always returns 0 is there an incompatability between the kernel module and the nbd code i've downloaded? modinfo nbd filename: /lib/modules/2.6.32-24-server/kernel/drivers/block/nbd.ko license: GPL description: Network Block Device srcversion: 124B68EE259895343ED15AD depends: vermagic: 2.6.32-24-server SMP mod_unload modversions parm: nbds_max:number of network block devices to initialize (default: 16) (int) parm: max_part:number of partitions per device (default: 0) (int) parm: debugflags:flags for controlling debug output (int) ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
