nbd.git
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

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

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

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

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

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

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

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

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

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

18 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 (10:00 +0000)]
r110: Incorporate patch from Maxim Syrchin to fix segfault if no auth file has been
given.

18 years agor108: Fix examples
yoe [Thu, 7 Jul 2005 18:23:07 +0000 (18:23 +0000)]
r108: Fix examples

19 years agor104: Unbreak VPATH builds; release rc2
yoe [Wed, 16 Feb 2005 08:46:03 +0000 (08:46 +0000)]
r104: Unbreak VPATH builds; release rc2

19 years agor103: Check for the right symbols in nbd.h by compiling, rather than guessing on
yoe [Wed, 16 Feb 2005 08:38:00 +0000 (08:38 +0000)]
r103: Check for the right symbols in nbd.h by compiling, rather than guessing on
whether they'll be there on the basis of other, unrelated, symbols. Also, make
the error message that appears if we don't find what we need a bit more
helpful, and warn the user if a bad nbd.h is found locally but a good one is
provided system-wide.

19 years agor101: version number
yoe [Sun, 23 Jan 2005 01:48:14 +0000 (01:48 +0000)]
r101: version number

19 years agor100: Bring comment in sync with reality
yoe [Sun, 23 Jan 2005 01:46:28 +0000 (01:46 +0000)]
r100: Bring comment in sync with reality

19 years agor99: Endianness fix
yoe [Sun, 23 Jan 2005 01:44:40 +0000 (01:44 +0000)]
r99: Endianness fix

19 years agor98: Distribute manpages, do not generate them on every build.
yoe [Wed, 19 Jan 2005 15:59:48 +0000 (15:59 +0000)]
r98: Distribute manpages, do not generate them on every build.

19 years agor97: Make --enable-lfs non-optional. It's silly to not want it, anyway
yoe [Wed, 19 Jan 2005 15:59:07 +0000 (15:59 +0000)]
r97: Make --enable-lfs non-optional. It's silly to not want it, anyway

19 years agor96: Leftover error caught by ``make distcheck''
yoe [Wed, 19 Jan 2005 15:56:19 +0000 (15:56 +0000)]
r96: Leftover error caught by ``make distcheck''

19 years agor95: We should be (almost) ready for 2.8 now...
yoe [Wed, 19 Jan 2005 15:33:09 +0000 (15:33 +0000)]
r95: We should be (almost) ready for 2.8 now...

19 years agor94: Mimick updates to 2.7 branch
yoe [Fri, 17 Dec 2004 00:51:12 +0000 (00:51 +0000)]
r94: Mimick updates to 2.7 branch

19 years agor90: GLibify
yoe [Fri, 3 Dec 2004 02:29:35 +0000 (02:29 +0000)]
r90: GLibify

19 years agor89: Use a GHashTable instead of a self-written dynamically compiled array to remembe...
yoe [Tue, 16 Nov 2004 00:14:01 +0000 (00:14 +0000)]
r89: Use a GHashTable instead of a self-written dynamically compiled array to remember who our children are

19 years agor88: Add lfs.h to EXTRA_DIST, to make both 'make distcheck' and our precious users
yoe [Mon, 15 Nov 2004 23:34:58 +0000 (23:34 +0000)]
r88: Add lfs.h to EXTRA_DIST, to make both 'make distcheck' and our precious users
happy. Also, s/DISTCLEANFILES/CLEANFILES/g , as that is more where those
generated manpages belong.

19 years agor87: Re-sanitize log messages
yoe [Mon, 15 Nov 2004 23:15:52 +0000 (23:15 +0000)]
r87: Re-sanitize log messages

19 years agor86: Remove bugs. It works again now
yoe [Mon, 15 Nov 2004 23:09:29 +0000 (23:09 +0000)]
r86: Remove bugs. It works again now

19 years agor85: Add AM_MAINTAINER_MODE for my own sanity
yoe [Mon, 15 Nov 2004 23:08:30 +0000 (23:08 +0000)]
r85: Add AM_MAINTAINER_MODE for my own sanity

19 years agor82: Stop using global variables.
yoe [Thu, 14 Oct 2004 18:12:09 +0000 (18:12 +0000)]
r82: Stop using global variables.

UNTESTED CODE. DO NOT USE THIS. Instead, use a file release, or code from the
release_2_7 branch.

Of course, if you want to help me fix bugs, that's always welcome... ;-)

19 years agor81: Ignore generated files
yoe [Thu, 14 Oct 2004 16:44:06 +0000 (16:44 +0000)]
r81: Ignore generated files

19 years agor80: Make it compile again
yoe [Thu, 14 Oct 2004 16:41:34 +0000 (16:41 +0000)]
r80: Make it compile again

19 years agor78: Make inetd mode actually work (Thanks, Alan Curry)
yoe [Sat, 24 Jul 2004 08:56:34 +0000 (08:56 +0000)]
r78: Make inetd mode actually work (Thanks, Alan Curry)

19 years agor76: Don't free the auth_file; it's never malloc()'ed
yoe [Sat, 24 Jul 2004 08:41:39 +0000 (08:41 +0000)]
r76: Don't free the auth_file; it's never malloc()'ed

19 years agor75: Portability: include <sys/param.h> before checking for <sys/mount.h> to avoid
yoe [Sun, 27 Jun 2004 11:39:16 +0000 (11:39 +0000)]
r75: Portability: include <sys/param.h> before checking for <sys/mount.h> to avoid
configure warnings on FreeBSD.

19 years agor74: * Added checks for GLib (not used yet, but will be in this release)
yoe [Sun, 27 Jun 2004 11:34:55 +0000 (11:34 +0000)]
r74: * Added checks for GLib (not used yet, but will be in this release)
* Improved checks for nbd.h to
  - check whether the file is recent enough
  - error out of configure if it isn't found

19 years agor73: Fix AM_INIT_AUTOMAKE to not have any arguments
yoe [Sun, 20 Jun 2004 07:40:08 +0000 (07:40 +0000)]
r73: Fix AM_INIT_AUTOMAKE to not have any arguments
Fix AC_ARG_ENABLE calls to work as expected when --disable-* is used.

19 years agor66: Some initial cleanups. More are probably needed.
yoe [Sat, 12 Jun 2004 09:31:26 +0000 (09:31 +0000)]
r66: Some initial cleanups. More are probably needed.

19 years agor65: Clean up LFS defines
yoe [Sun, 23 May 2004 09:55:43 +0000 (09:55 +0000)]
r65: Clean up LFS defines

19 years agor64: Add missing closing bracket
yoe [Sun, 23 May 2004 09:54:39 +0000 (09:54 +0000)]
r64: Add missing closing bracket

19 years agor63: Code style cleanup
yoe [Mon, 17 May 2004 21:57:15 +0000 (21:57 +0000)]
r63: Code style cleanup

19 years agor62: close possible format string attack
yoe [Sun, 16 May 2004 20:21:35 +0000 (20:21 +0000)]
r62: close possible format string attack

19 years agor61: Cleanup after audit. Thanks, Steve!
yoe [Thu, 13 May 2004 21:35:31 +0000 (21:35 +0000)]
r61: Cleanup after audit. Thanks, Steve!

19 years agor60: Update documentation to reflect reality.
yoe [Thu, 6 May 2004 11:25:43 +0000 (11:25 +0000)]
r60: Update documentation to reflect reality.

19 years agor59: clean up after snprintf; make the difffilename buffer large enough.
yoe [Thu, 6 May 2004 11:17:46 +0000 (11:17 +0000)]
r59: clean up after snprintf; make the difffilename buffer large enough.

19 years agor58: Ewww. Don't use sprintf, it's ugly. Especially if user input is involved.
yoe [Wed, 5 May 2004 12:03:18 +0000 (12:03 +0000)]
r58: E Don't use sprintf, it's ugly. Especially if user input is involved.

19 years agor57: Fix multi-file option, and fix its documentation
yoe [Sat, 1 May 2004 07:48:23 +0000 (07:48 +0000)]
r57: Fix multi-file option, and fix its documentation

19 years agor56: check for BLKGETSIZE anyway, because it might not exist (and does not,
yoe [Fri, 23 Apr 2004 18:41:38 +0000 (18:41 +0000)]
r56: check for BLKGETSIZE anyway, because it might not exist (and does not,
on FreeBSD)

19 years agor55: Rename configure.in to configure.ac, and remove an ugly warning.
yoe [Fri, 23 Apr 2004 17:40:04 +0000 (17:40 +0000)]
r55: Rename configure.in to configure.ac, and remove an ugly warning.

20 years agor54: - Unbreak compilation
yoe [Wed, 21 Apr 2004 22:21:51 +0000 (22:21 +0000)]
r54: - Unbreak compilation
- portability: The Hurd doesn't have <sys/mount.h> or ioctls. They're
  not essential to us, so #ifdef out the code that uses them if they
  are not available.

20 years agor53: Move the #include <cliserv.h> to the top, to allow configure's
yoe [Sun, 4 Apr 2004 11:04:52 +0000 (11:04 +0000)]
r53: Move the #include <cliserv.h> to the top, to allow configure's
--enable-lfs to work.

20 years agor50: Whoops. This actually had to be committed to the virthost branch,
yoe [Wed, 18 Feb 2004 19:24:46 +0000 (19:24 +0000)]
r50: Whoops. This actually had to be committed to the virthost branch,
instead of to HEAD. Reversed it.

20 years agor49: Doxygenified the source, and started modularizing it. Lots of work
yoe [Wed, 11 Feb 2004 10:22:50 +0000 (10:22 +0000)]
r49: Doxygenified the source, and started modularizing it. Lots of work
still to do, but we'll eventually arrive somewhere.

20 years agor48: Fixed a bug in configure.in that broke detection of <linux/nbd.h>
yoe [Wed, 11 Feb 2004 10:21:58 +0000 (10:21 +0000)]
r48: Fixed a bug in configure.in that broke detection of <linux/nbd.h>

20 years agor46: Whoops
yoe [Wed, 28 Jan 2004 16:44:37 +0000 (16:44 +0000)]
r46: Whoops