nbd/ericb.git
14 years agor283: Don't dereference a command if it's empty2.9.7
yoe [Tue, 18 Sep 2007 12:32:20 +0000 (18 12:32 +0000)]
r283: Don't dereference a command if it's empty

14 years agor282: Don't dereference stuff if we haven't set it. Patch by Scott Balneaves from...
yoe [Tue, 18 Sep 2007 11:53:06 +0000 (18 11:53 +0000)]
r282: Don't dereference stuff if we haven't set it. Patch by Scott Balneaves from Ubuntu

14 years agor281: Revised nbd-client timeout support
snitm [Sat, 25 Aug 2007 22:43:44 +0000 (25 22:43 +0000)]
r281: Revised nbd-client timeout support

14 years agor280: Revert recent nbd-client timeout changes; revised changes to follow
snitm [Sat, 25 Aug 2007 22:35:53 +0000 (25 22:35 +0000)]
r280: Revert recent nbd-client timeout changes; revised changes to follow

14 years agor279: * Mention -persist in nbd-client manpage
yoe [Fri, 24 Aug 2007 21:47:36 +0000 (24 21:47 +0000)]
r279: * Mention -persist in nbd-client manpage
* Implement support for NBD_SET_TIMEOUT in anticipation of it being
  accepted into the kernel. #ifdef'ed out for the time being, anyway.

14 years agor278: Set group _after_ setting user, since setting the user may make us lose rights...
yoe [Sun, 19 Aug 2007 16:05:48 +0000 (19 16:05 +0000)]
r278: Set group _after_ setting user, since setting the user may make us lose rights to set a group

14 years agor274: Patch by Corey Minyard to set a device read-only at negotiate time
yoe [Tue, 14 Aug 2007 06:14:09 +0000 (14 06:14 +0000)]
r274: Patch by Corey Minyard to set a device read-only at negotiate time

14 years agor272: Fix documentation layout
yoe [Thu, 26 Jul 2007 14:38:04 +0000 (26 14:38 +0000)]
r272: Fix documentation layout

14 years agor271: update this document, too
yoe [Thu, 26 Jul 2007 14:32:12 +0000 (26 14:32 +0000)]
r271: update this document, too

14 years agor270: Implement prerun and postrun options
yoe [Thu, 26 Jul 2007 14:30:45 +0000 (26 14:30 +0000)]
r270: Implement prerun and postrun options

15 years agor269: Update README to reflect reality
yoe [Thu, 19 Jul 2007 10:00:47 +0000 (19 10:00 +0000)]
r269: Update README to reflect reality

15 years agor267: Really fix the segfault. Hand the brown paper bag, please2.9.6
yoe [Thu, 19 Jul 2007 09:05:18 +0000 (19 09:05 +0000)]
r267: Really fix the segfault. Hand the brown paper bag, please

15 years agor266: mktemp provides an absolute path...
yoe [Thu, 19 Jul 2007 09:04:27 +0000 (19 09:04 +0000)]
r266: mktemp provides an absolute path...

15 years agor265: Check whether the program runs with a config file rather than stuff on the...
yoe [Thu, 19 Jul 2007 08:50:47 +0000 (19 08:50 +0000)]
r265: Check whether the program runs with a config file rather than stuff on the cmdline, too

15 years agor264: Fix segfault
yoe [Sun, 8 Jul 2007 10:01:31 +0000 (8 10:01 +0000)]
r264: Fix segfault

15 years agor263: Ignore generated manpage nbd-server.5
yoe [Sun, 8 Jul 2007 09:55:49 +0000 (8 09:55 +0000)]
r263: Ignore generated manpage nbd-server.5

15 years agor262: Add a debugging switch on the cmdline
yoe [Sun, 8 Jul 2007 09:51:38 +0000 (8 09:51 +0000)]
r262: Add a debugging switch on the cmdline

15 years agor261: Fix inetd mode
yoe [Mon, 25 Jun 2007 13:30:57 +0000 (25 13:30 +0000)]
r261: Fix inetd mode

15 years agor260: Fix usage of peername, patch by gad@jetcom.org
yoe [Fri, 15 Jun 2007 21:38:51 +0000 (15 21:38 +0000)]
r260: Fix usage of peername, patch by gad@jetcom.org

15 years agor259: Merge r258
yoe [Wed, 13 Jun 2007 11:07:26 +0000 (13 11:07 +0000)]
r259: Merge r258

15 years agor255: Oops2.9.3
yoe [Mon, 4 Jun 2007 01:13:10 +0000 (4 01:13 +0000)]
r255: Oops

15 years agor254: Don't include symlinks to stuff which might be somewhere entirely different
yoe [Mon, 4 Jun 2007 01:10:13 +0000 (4 01:10 +0000)]
r254: Don't include symlinks to stuff which might be somewhere entirely different

15 years agor253: Revert r231; it's causing more problems than it attempts to solve
yoe [Mon, 4 Jun 2007 01:01:20 +0000 (4 01:01 +0000)]
r253: Revert r231; it's causing more problems than it attempts to solve

15 years agor243: Merge r242
yoe [Sat, 3 Mar 2007 07:41:47 +0000 (3 07:41 +0000)]
r243: Merge r242

15 years agor241: Merge r240 from trunk
yoe [Mon, 12 Feb 2007 12:33:26 +0000 (12 12:33 +0000)]
r241: Merge r240 from trunk

15 years agor238: Branch 2.9 to allow starting development on 2.10
yoe [Tue, 30 Jan 2007 12:55:09 +0000 (30 12:55 +0000)]
r238: Branch 2.9 to allow starting development on 2.10

15 years agor236: Ignore more stuff, and don't forget to add the INSTALL file2.9.2
yoe [Tue, 30 Jan 2007 12:52:21 +0000 (30 12:52 +0000)]
r236: Ignore more stuff, and don't forget to add the INSTALL file

15 years agor235: Oops
yoe [Sat, 27 Jan 2007 23:57:44 +0000 (27 23:57 +0000)]
r235: Oops

15 years agor234: Add manpage
yoe [Sat, 27 Jan 2007 23:56:16 +0000 (27 23:56 +0000)]
r234: Add manpage

15 years agor233: Fix 64bit stuff (again)
yoe [Sat, 27 Jan 2007 23:53:04 +0000 (27 23:53 +0000)]
r233: Fix 64bit stuff (again)

15 years agor232: * Try and fix the test for NBD_H
yoe [Wed, 24 Jan 2007 13:18:56 +0000 (24 13:18 +0000)]
r232: * Try and fix the test for NBD_H
* Include checks for -lsocket, -lnsl, and -lresolv, to allow for
  compilation on Solaris.

15 years agor231: Make client sockets non-blocking, too.
yoe [Tue, 23 Jan 2007 17:18:29 +0000 (23 17:18 +0000)]
r231: Make client sockets non-blocking, too.

15 years agor230: Add test for even more recent kernels
yoe [Wed, 27 Dec 2006 18:59:05 +0000 (27 18:59 +0000)]
r230: Add test for even more recent kernels

15 years agor229: Turn this into a slightly better Makefile, as suggested by Mike Frysinger
yoe [Wed, 27 Dec 2006 18:51:57 +0000 (27 18:51 +0000)]
r229: Turn this into a slightly better Makefile, as suggested by Mike Frysinger

15 years agor228: Fix detection of host system, patch by Mike Frysinger <vapier@gentoo.org>
yoe [Wed, 27 Dec 2006 18:48:19 +0000 (27 18:48 +0000)]
r228: Fix detection of host system, patch by Mike Frysinger <vapier@gentoo.org>

15 years agor226: Fix memory leakage: we need to allocate only one hash table for all our2.9.1
yoe [Wed, 27 Dec 2006 13:47:49 +0000 (27 13:47 +0000)]
r226: Fix memory leakage: we need to allocate only one hash table for all our
children, not one per listening port...

15 years agor225: Fix null pointer, patch by Johan Myreen
yoe [Wed, 27 Dec 2006 13:46:26 +0000 (27 13:46 +0000)]
r225: Fix null pointer, patch by Johan Myreen

15 years agor224: Distribute INSTALL and simple_test, too
yoe [Wed, 27 Dec 2006 13:39:25 +0000 (27 13:39 +0000)]
r224: Distribute INSTALL and simple_test, too

15 years agor223: Emit data about throughput speed
yoe [Wed, 27 Dec 2006 13:39:02 +0000 (27 13:39 +0000)]
r223: Emit data about throughput speed

15 years agor222: * Clean up temporary files after we quit
yoe [Wed, 27 Dec 2006 13:37:37 +0000 (27 13:37 +0000)]
r222: * Clean up temporary files after we quit
* Use absolute pathname rather than a relative one

15 years agor219: Support checking on devel builds, too.
yoe [Mon, 6 Nov 2006 17:13:16 +0000 (6 17:13 +0000)]
r219: Support checking on devel builds, too.

15 years agor218: Err, do it at the right place :)
yoe [Mon, 6 Nov 2006 17:10:37 +0000 (6 17:10 +0000)]
r218: Err, do it at the right place :)

15 years agor217: Make sure no config file is unadvertently parsed. We won't need that.
yoe [Mon, 6 Nov 2006 17:09:41 +0000 (6 17:09 +0000)]
r217: Make sure no config file is unadvertently parsed. We won't need that.

15 years agor216: Update copyright notice
yoe [Mon, 6 Nov 2006 16:58:21 +0000 (6 16:58 +0000)]
r216: Update copyright notice

15 years agor215: Incorporate patch from SuSE
yoe [Wed, 1 Nov 2006 14:27:42 +0000 (1 14:27 +0000)]
r215: Incorporate patch from SuSE

15 years agor213: Install nbd-tester-client as a test suite2.9.0
yoe [Wed, 1 Nov 2006 13:19:54 +0000 (1 13:19 +0000)]
r213: Install nbd-tester-client as a test suite

15 years agor212: We've been using svn since quite a while now
yoe [Wed, 1 Nov 2006 13:06:48 +0000 (1 13:06 +0000)]
r212: We've been using svn since quite a while now

15 years agor211: Allow for varying the filename of the PID file on the command line
yoe [Wed, 1 Nov 2006 12:51:14 +0000 (1 12:51 +0000)]
r211: Allow for varying the filename of the PID file on the command line

15 years agor210: Spelling fix
yoe [Wed, 1 Nov 2006 12:41:32 +0000 (1 12:41 +0000)]
r210: Spelling fix

15 years agor209: Sync documentation with what the code turned out to be, and add a few simple
yoe [Wed, 25 Oct 2006 12:41:54 +0000 (25 12:41 +0000)]
r209: Sync documentation with what the code turned out to be, and add a few simple
examples

15 years agor208: Fix minor bug wrt cidrhash choice for virtstyle option, and a small
yoe [Wed, 25 Oct 2006 11:56:25 +0000 (25 11:56 +0000)]
r208: Fix minor bug wrt cidrhash choice for virtstyle option, and a small
codingstyle cleanup.

15 years agor207: Fix compilation
yoe [Wed, 25 Oct 2006 01:39:00 +0000 (25 01:39 +0000)]
r207: Fix compilation

15 years agor206: Allow for CIDR-style authentication using auth_file. Also, fix the cidrhash
yoe [Wed, 25 Oct 2006 01:34:22 +0000 (25 01:34 +0000)]
r206: Allow for CIDR-style authentication using auth_file. Also, fix the cidrhash
implementation (we want a netmask that is /X, not /(32-X).

15 years agor205: Remove examples (they were only a leftover from the manpage I based it
yoe [Tue, 24 Oct 2006 20:05:17 +0000 (24 20:05 +0000)]
r205: Remove examples (they were only a leftover from the manpage I based it
on) and document the "none" virtstyle, too.

15 years agor204: Add support for user/group changing at runtime, different virtualization
yoe [Tue, 24 Oct 2006 20:04:03 +0000 (24 20:04 +0000)]
r204: Add support for user/group changing at runtime, different virtualization
styles, and sparse copy-on-write files

15 years agor203: codingstyle cleanup
yoe [Tue, 24 Oct 2006 18:29:44 +0000 (24 18:29 +0000)]
r203: codingstyle cleanup

15 years agor202: Documentation update
yoe [Mon, 23 Oct 2006 18:45:02 +0000 (23 18:45 +0000)]
r202: Documentation update

15 years agor201: Plug possible segfault upon connection close
yoe [Thu, 19 Oct 2006 19:32:26 +0000 (19 19:32 +0000)]
r201: Plug possible segfault upon connection close

15 years agor200: Remove superfluous/erroneous message about there not being a manpage etc...
yoe [Wed, 18 Oct 2006 13:01:57 +0000 (18 13:01 +0000)]
r200: Remove superfluous/erroneous message about there not being a manpage etc...

15 years agor196: Allow compiling against Linux 2.6.18 nbd.h
yoe [Tue, 17 Oct 2006 18:03:37 +0000 (17 18:03 +0000)]
r196: Allow compiling against Linux 2.6.18 nbd.h

15 years agor191: Beautify debugging output (Phillip)
yoe [Sat, 7 Oct 2006 14:14:04 +0000 (7 14:14 +0000)]
r191: Beautify debugging output (Phillip)

15 years agor190: Create a saner version of the multifile option: detect file sizes rather
yoe [Thu, 5 Oct 2006 22:03:26 +0000 (5 22:03 +0000)]
r190: Create a saner version of the multifile option: detect file sizes rather
than assuming they're all of a predefined size, and use a binary search
to find the offset rather than the % operator.

Code by Phillip Hellewell

15 years agor189: Fix crashes, thanks (again) to Phillip
yoe [Wed, 4 Oct 2006 21:43:22 +0000 (4 21:43 +0000)]
r189: Fix crashes, thanks (again) to Phillip

15 years agor188: Apply patch by Phillip to fix error handling in config file parsing code.
yoe [Thu, 28 Sep 2006 15:17:41 +0000 (28 15:17 +0000)]
r188: Apply patch by Phillip to fix error handling in config file parsing code.

15 years agor187: Documentation fix by Phillip, and fix one typo which I just found, too.
yoe [Wed, 27 Sep 2006 09:49:45 +0000 (27 09:49 +0000)]
r187: Documentation fix by Phillip, and fix one typo which I just found, too.

15 years agor186: Add more ignored stuff, as suggested by Phillip Hellwell
yoe [Thu, 21 Sep 2006 17:49:16 +0000 (21 17:49 +0000)]
r186: Add more ignored stuff, as suggested by Phillip Hellwell

15 years agor185: Build/documentation fixes from Phillip Hellewell
yoe [Thu, 21 Sep 2006 17:44:41 +0000 (21 17:44 +0000)]
r185: Build/documentation fixes from Phillip Hellewell

15 years agor184: find OFFT_MAX in a much cleaner way.
yoe [Sun, 20 Aug 2006 11:42:31 +0000 (20 11:42 +0000)]
r184: find OFFT_MAX in a much cleaner way.

15 years agor176: Add CodingStyle document
yoe [Sat, 5 Aug 2006 09:21:14 +0000 (5 09:21 +0000)]
r176: Add CodingStyle document

15 years agor175: * Mirror relevant changes from r171
yoe [Sat, 5 Aug 2006 09:20:54 +0000 (5 09:20 +0000)]
r175: * Mirror relevant changes from r171
* Code style cleanup

15 years agor170: Use waitpid() rather than wait() to avoid it hanging while waiting for a
yoe [Fri, 4 Aug 2006 18:34:12 +0000 (4 18:34 +0000)]
r170: Use waitpid() rather than wait() to avoid it hanging while waiting for a
child if we receive a spurious SIGCHLD.

16 years agor165: Remove outdated comments
yoe [Tue, 6 Jun 2006 16:39:36 +0000 (6 16:39 +0000)]
r165: Remove outdated comments

16 years agor163: Fix build when --enable-syslog is used.
yoe [Mon, 8 May 2006 14:50:30 +0000 (8 14:50 +0000)]
r163: Fix build when --enable-syslog is used.

16 years agor161: * Document -C flag
yoe [Mon, 8 May 2006 14:16:28 +0000 (8 14:16 +0000)]
r161: * Document -C flag
* Make config file parsing actually work

16 years agor160: Remove duplicate noinst_PROGRAMS
yoe [Mon, 1 May 2006 13:41:25 +0000 (1 13:41 +0000)]
r160: Remove duplicate noinst_PROGRAMS

16 years agor159: Make this a bit more useful
yoe [Mon, 1 May 2006 13:38:23 +0000 (1 13:38 +0000)]
r159: Make this a bit more useful

16 years agor158: Document configuration file syntax, before I forget it *again*.
yoe [Mon, 1 May 2006 13:24:57 +0000 (1 13:24 +0000)]
r158: Document configuration file syntax, before I forget it *again*.

While I was at it, did some minor clarifications, too.

16 years agor157: Fix some bugs (whee, trunk code works again!)
yoe [Mon, 1 May 2006 13:02:23 +0000 (1 13:02 +0000)]
r157: Fix some bugs (whee, trunk code works again!)

16 years agor156: Remove outdated .cvsignore
yoe [Mon, 1 May 2006 12:32:46 +0000 (1 12:32 +0000)]
r156: Remove outdated .cvsignore

16 years agor154: Fix segfault
yoe [Thu, 30 Mar 2006 23:29:43 +0000 (30 23:29 +0000)]
r154: Fix segfault

16 years agor153: Add support for persistent connections (reconnecting if the connection drops
yoe [Thu, 30 Mar 2006 20:11:21 +0000 (30 20:11 +0000)]
r153: Add support for persistent connections (reconnecting if the connection drops
for some unknown reason)

16 years agor152: It's subversion now.
yoe [Fri, 10 Mar 2006 13:43:51 +0000 (10 13:43 +0000)]
r152: It's subversion now.

16 years agor151: Fix compile
yoe [Fri, 10 Mar 2006 13:38:51 +0000 (10 13:38 +0000)]
r151: Fix compile

16 years agor150: Build, but do not install, nbd-tester-client
yoe [Thu, 9 Mar 2006 22:20:24 +0000 (9 22:20 +0000)]
r150: Build, but do not install, nbd-tester-client

16 years agor149: Make the fact that The Hurd supports this protocol too a bit clearer
yoe [Thu, 9 Mar 2006 22:19:04 +0000 (9 22:19 +0000)]
r149: Make the fact that The Hurd supports this protocol too a bit clearer

16 years agor148: Make code warning-free
yoe [Thu, 9 Mar 2006 22:18:27 +0000 (9 22:18 +0000)]
r148: Make code warning-free

16 years agor147: Some code updates. Previous commit to HEAD was more of a backup, whereas
yoe [Thu, 9 Mar 2006 22:16:17 +0000 (9 22:16 +0000)]
r147: Some code updates. Previous commit to HEAD was more of a backup, whereas
this seems to actually work.

16 years agor146: Fix SNAFU
yoe [Tue, 31 Jan 2006 09:59:53 +0000 (31 09:59 +0000)]
r146: Fix SNAFU

16 years agor145: * Improve error handling
yoe [Tue, 31 Jan 2006 09:58:41 +0000 (31 09:58 +0000)]
r145: * Improve error handling
* Fix htonl call to say htonll instead (lesson: test network-using software on
  at least one little endian architecture :-)

16 years agor144: Add test client
yoe [Mon, 30 Jan 2006 22:15:44 +0000 (30 22:15 +0000)]
r144: Add test client

16 years agor141: Commit this before I accidentally remove it again..
yoe [Fri, 6 Jan 2006 17:03:10 +0000 (6 17:03 +0000)]
r141: Commit this before I accidentally remove it again..

16 years agor126: Make sure we never ever forget to set the date again.
yoe [Sun, 6 Nov 2005 08:04:52 +0000 (6 08:04 +0000)]
r126: Make sure we never ever forget to set the date again.

16 years agor124: Merge in changes to 2.8 branch, up to 2.8.1.
yoe [Fri, 28 Oct 2005 07:28:51 +0000 (28 07:28 +0000)]
r124: Merge in changes to 2.8 branch, up to 2.8.1.

16 years agor123: Make this version-agnostic
yoe [Thu, 27 Oct 2005 20:18:22 +0000 (27 20:18 +0000)]
r123: Make this version-agnostic

16 years agor117: Make this slightly useful
yoe [Wed, 26 Oct 2005 09:13:27 +0000 (26 09:13 +0000)]
r117: Make this slightly useful

16 years agor116: Explain takeover of maintenance, as in nbd-server.1.sgml.
yoe [Tue, 25 Oct 2005 17:49:21 +0000 (25 17:49 +0000)]
r116: Explain takeover of maintenance, as in nbd-server.1.sgml.

16 years agor115: Add doxygen file
yoe [Tue, 25 Oct 2005 17:36:53 +0000 (25 17:36 +0000)]
r115: Add doxygen file

16 years agor114: Fixes for copy-on-write from Maxim Syrchin (thanks!)
yoe [Tue, 25 Oct 2005 11:13:44 +0000 (25 11:13 +0000)]
r114: Fixes for copy-on-write from Maxim Syrchin (thanks!)

16 years agor113: GCC4 warning fixes
yoe [Tue, 25 Oct 2005 11:12:20 +0000 (25 11:12 +0000)]
r113: GCC4 warning fixes

16 years agor110: Incorporate patch from Maxim Syrchin to fix segfault if no auth file has been
yoe [Fri, 16 Sep 2005 10:00:52 +0000 (16 10:00 +0000)]
r110: Incorporate patch from Maxim Syrchin to fix segfault if no auth file has been
given.