[ENBD] 2.6.0 support
Peter T. Breuer
ptb at it.uc3m.es
Thu Jan 15 14:13:09 MST 2004
"Also sprach Peter T. Breuer:"
> --- - Sun Apr 20 20:51:13 2003
> +++ linux-2.6.0-test2/drivers/block/enbd/enbd_base.c Sun Aug 17 08:09:56 2003
> @@ -0,0 +1,4200 @@
> +/*
> + * (Enhanced) Network block device - make block devices work over TCP
> + *
>
> Ya seez? Looks open and shut to me! It doesn't like a "-" as one of the
> file names. Shrug. So let it choose the other one, or make it be quiet.
>
> If I were desperate for peace, I would substitute the "-" by
> "linux-2.6.0-test2.orig/drivers/block/enbd/enbd_base.c".
Well, for fun I downloaded 2.6.1, edited the patch to replace the "-"
names by something more likeable, and applied it:
betty:/usr/local/src/linux-2.6.1% sudo patch -p1 < ~/lang/c/nbd/nbd-2.4.31/kernel/patches/enbd-2.6.0-test2.pat
patching file `drivers/Makefile'
Hunk #1 succeeded at 33 with fuzz 2.
patching file `drivers/block/Kconfig'
Hunk #1 succeeded at 284 (offset -16 lines).
patching file `drivers/block/enbd/Kconfig'
patching file `drivers/block/enbd/Makefile'
patching file `drivers/block/enbd/enbd_base.c'
patching file `drivers/block/enbd/enbd_ioctl.c'
patching file `drivers/block/enbd/enbd_ioctl_stub.c'
patching file `drivers/block/enbd/enbd_md.c'
patching file `drivers/block/enbd/enbd_proc.c'
patching file `drivers/block/enbd/enbd_seqno.c'
patching file `drivers/block/enbd/enbd_speed.c'
patching file `include/linux/enbd.h'
patching file `include/linux/enbd_ioctl.h'
So it looks like the patch applies. I'll compile and let you know if or
what needs changing.
Peter
More information about the ENBD
mailing list