Here is a fun snippet from the cdrecord/cdrecord.c Right above this code block is a comment that says you aren't allowed to remove the following and at the same time supposedly this file is under the GPL license. -------------------------- linuxcheck() { #if defined(linux) || defined(__linux) || defined(__linux__) #ifdef HAVE_UNAME struct utsname un; if (uname(&un) >= 0) { /* * I really hope that the Linux kernel developers will soon * fix the most annoying bugs (as promised). Linux-2.6.8 * has still much more reported problems than Linux-2.4. */ if ((un.release[0] == '2' && un.release[1] == '.') && (un.release[2] == '5' || un.release[2] == '6')) { errmsgno(EX_BAD, "Warning: Running on Linux-%s\n", un.release); errmsgno(EX_BAD, "There are unsettled issues with Linux-2.5 and newer.\n"); errmsgno(EX_BAD, "If you have unexpected problems, please try Linux-2.4 or Solaris.\n"); } } #endif if (streql(HOST_VENDOR, "suse")) { errmsgno(EX_BAD, "SuSE Linux is known to ship bastardized and defective versions of cdrecord.\n"); errmsgno(EX_BAD, "SuSE is unwilling to cooperate with the authors.\n"); errmsgno(EX_BAD, "If you like to have a working version of cdrtools, get the\n"); errmsgno(EX_BAD, "original source from ftp://ftp.berlios.de/pub/cdrecord/\n"); } #endif }
On Tuesday 17 August 2004 01:46 pm, Dax Kelson wrote:
Here is a fun snippet from the cdrecord/cdrecord.c
Right above this code block is a comment that says you aren't allowed to remove the following and at the same time supposedly this file is under the GPL license.
<snip>
"If you like to have a working version of cdrtools, get the\n"); errmsgno(EX_BAD, "original source from ftp://ftp.berlios.de/pub/cdrecord/\n");
You can bet I did ;-) -- Tony Alfrey tonyalfrey@earthlink.net "I'd Rather Be Sailing"
Dax Kelson wrote:
Here is a fun snippet from the cdrecord/cdrecord.c
Right above this code block is a comment that says you aren't allowed to remove the following and at the same time supposedly this file is under the GPL license.
--------------------------
linuxcheck() { #if defined(linux) || defined(__linux) || defined(__linux__) #ifdef HAVE_UNAME struct utsname un;
if (uname(&un) >= 0) { /* * I really hope that the Linux kernel developers will soon * fix the most annoying bugs (as promised). Linux-2.6.8 * has still much more reported problems than Linux-2.4. */ if ((un.release[0] == '2' && un.release[1] == '.') && (un.release[2] == '5' || un.release[2] == '6')) { errmsgno(EX_BAD, "Warning: Running on Linux-%s\n", un.release); errmsgno(EX_BAD, "There are unsettled issues with Linux-2.5 and newer.\n"); errmsgno(EX_BAD, "If you have unexpected problems, please try Linux-2.4 or Solaris.\n"); } } #endif if (streql(HOST_VENDOR, "suse")) { errmsgno(EX_BAD, "SuSE Linux is known to ship bastardized and defective versions of cdrecord.\n"); errmsgno(EX_BAD, "SuSE is unwilling to cooperate with the authors.\n"); errmsgno(EX_BAD, "If you like to have a working version of cdrtools, get the\n"); errmsgno(EX_BAD, "original source from ftp://ftp.berlios.de/pub/cdrecord/\n");
} #endif }
Yep, I've seen this, Herr Schilling has been having tantrums in his dealings with the kernel developers all along and up to last week. He insists the Linux kernel does things his way. I usually download his cdrtools, use the strange build and install which must have taken him ages to write, change /boot/grub/menu.lst replacing hdb=ide-scsi with hdb=ide-cd, then using xcdroast, successfully done for ages on 2.6 kernels, I also use the SuSE x86_64 version of cdrtools with xcdroast which I compiled and that burns CD's OK on my x86_64 laptop -- using kernel.org kernels. There are a couple of new commandline tools mentioned on the kernel mailing list that are not quite ready for prime time when tested some days ago (UDF format), I was able to format the CDRW, but couldn't mount it on kernel 2.6.8-rc4-mm1. It may amount to something in time, giving us another (LINUX) way of doing it that doesn't court controversy. barrabas:/ftp/aug04/gpstk # cat /etc/filesystems vfat hfs minix reiserfs udf * barrabas:/ftp/aug04/gpstk # lsmod|grep udf udf 89028 0 barrabas:/ftp/aug04/gpstk # cdmrw cdmrw: options: -d: <device> -f: <{restart, full} format type -F: force format -s: suspend format -p: poll for format completion barrabas:/ftp/aug04/gpstk # cdrwtool --help --help d device s set write parameters g get write parameters b blank cdrw disc m format cdrw disc u run mkudffs on track v set mkudffs version t set cd writing speed p write fixed packets q perform quick setup r reserve track c close track z fixed packet size l border/session setting w write type f file to write o start at this lba for file write i print detailed disc info Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
On Tuesday 17 August 2004 21:46, Dax Kelson wrote:
Here is a fun snippet from the cdrecord/cdrecord.c
Right above this code block is a comment that says you aren't allowed to remove the following and at the same time supposedly this file is under the GPL license.
--------------------------
linuxcheck() { #if defined(linux) || defined(__linux) || defined(__linux__) #ifdef HAVE_UNAME struct utsname un;
if (uname(&un) >= 0) { /* * I really hope that the Linux kernel developers will soon * fix the most annoying bugs (as promised). Linux-2.6.8 * has still much more reported problems than Linux-2.4. */ if ((un.release[0] == '2' && un.release[1] == '.') && (un.release[2] == '5' || un.release[2] == '6')) { errmsgno(EX_BAD, "Warning: Running on Linux-%s\n", un.release); errmsgno(EX_BAD, "There are unsettled issues with Linux-2.5 and newer.\n"); errmsgno(EX_BAD, "If you have unexpected problems, please try Linux-2.4 or Solaris.\n"); } } #endif if (streql(HOST_VENDOR, "suse")) { errmsgno(EX_BAD, "SuSE Linux is known to ship bastardized and defective versions of cdrecord.\n"); errmsgno(EX_BAD, "SuSE is unwilling to cooperate with the authors.\n"); errmsgno(EX_BAD, "If you like to have a working version of cdrtools, get the\n"); errmsgno(EX_BAD, "original source from ftp://ftp.berlios.de/pub/cdrecord/\n");
} #endif }
Last week's Linux Weekly News has a lead article on the issue. http://lwn.net/ Mike
Mike, On Wednesday 18 August 2004 00:12, michael norman wrote:
On Tuesday 17 August 2004 21:46, Dax Kelson wrote:
Here is a fun snippet from the cdrecord/cdrecord.c
Right above this code block is a comment that says you aren't allowed to remove the following and at the same time supposedly this file is under the GPL license.
--------------------------
linuxcheck() { ... }
Last week's Linux Weekly News has a lead article on the issue.
Could you help us home in on it?
Mike
Randall Schulz
Last week's Linux Weekly News has a lead article on the issue.
Could you help us home in on it?
Mike
Randall Schulz
You need to be a subscriber to LWN to read it on the Thursday its published. After a week (ie tomorrow) its available to non subscribers. You just go to the LWN site and click on it (its on the left hand side) Mike
participants (5)
-
Dax Kelson
-
michael norman
-
Randall R Schulz
-
Sid Boyce
-
Tony Alfrey