nbd.git
16 years agor294: Delay daemon() call as long as possible, and modify error handling slightly to
yoe [Fri, 26 Oct 2007 12:31:33 +0000 (12:31 +0000)]
r294: Delay daemon() call as long as possible, and modify error handling slightly to
be more verbose on failure. Modified from Corey Minyard (as was my previous
commit)

16 years agor293: Handle incorrect user- or groupnames correctly
yoe [Fri, 26 Oct 2007 12:12:58 +0000 (12:12 +0000)]
r293: Handle incorrect user- or groupnames correctly

16 years agor292: Add note about deadline scheduler
yoe [Tue, 23 Oct 2007 10:54:15 +0000 (10:54 +0000)]
r292: Add note about deadline scheduler

16 years agor291: make the build work, again
yoe [Mon, 22 Oct 2007 00:46:11 +0000 (00:46 +0000)]
r291: make the build work, again

16 years agor290: Reword a troublesome sentence, and document the sdp support
yoe [Wed, 17 Oct 2007 09:52:50 +0000 (09:52 +0000)]
r290: Reword a troublesome sentence, and document the sdp support

16 years agor289: Add experimental support for the SDP protocol
yoe [Wed, 17 Oct 2007 09:34:27 +0000 (09:34 +0000)]
r289: Add experimental support for the SDP protocol

16 years agor288: Don't forget to kill nbd-server the second time; thanks to Patrice Dumas
yoe [Wed, 17 Oct 2007 09:01:22 +0000 (09:01 +0000)]
r288: Don't forget to kill nbd-server the second time; thanks to Patrice Dumas

16 years agor287: Fixes from Tefnet <developers@tefnet.pl>
yoe [Thu, 27 Sep 2007 09:00:16 +0000 (09:00 +0000)]
r287: Fixes from Tefnet <developers@tefnet.pl>

16 years agor286: Oops, version number shouldn't be in subversion
yoe [Wed, 19 Sep 2007 02:08:40 +0000 (02:08 +0000)]
r286: Oops, version number shouldn't be in subversion

16 years agor285: Move first do_run command up slightly
yoe [Wed, 19 Sep 2007 02:07:58 +0000 (02:07 +0000)]
r285: Move first do_run command up slightly

16 years agor283: Don't dereference a command if it's empty
yoe [Tue, 18 Sep 2007 12:32:20 +0000 (12:32 +0000)]
r283: Don't dereference a command if it's empty

16 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 (11:53 +0000)]
r282: Don't dereference stuff if we haven't set it. Patch by Scott Balneaves from Ubuntu

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

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

16 years agor279: * Mention -persist in nbd-client manpage
yoe [Fri, 24 Aug 2007 21:47:36 +0000 (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.

16 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 (16:05 +0000)]
r278: Set group _after_ setting user, since setting the user may make us lose rights to set a group

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

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

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

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

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

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

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

16 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 (08:50 +0000)]
r265: Check whether the program runs with a config file rather than stuff on the cmdline, too

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 years agor232: * Try and fix the test for NBD_H
yoe [Wed, 24 Jan 2007 13:18:56 +0000 (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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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 (12:41 +0000)]
r209: Sync documentation with what the code turned out to be, and add a few simple
examples

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

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

17 years agor206: Allow for CIDR-style authentication using auth_file. Also, fix the cidrhash
yoe [Wed, 25 Oct 2006 01:34:22 +0000 (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).

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

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

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

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

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

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

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

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

17 years agor190: Create a saner version of the multifile option: detect file sizes rather
yoe [Thu, 5 Oct 2006 22:03:26 +0000 (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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 years agor145: * Improve error handling
yoe [Tue, 31 Jan 2006 09:58:41 +0000 (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 :-)

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