On 28-Nov-2002 Dag-Erling Smorgrav wrote:
> John Baldwin <jhb@FreeBSD.org> writes:
>> Log:
>> Don't use fake 'c' or 'a' BSD partitions for CD-ROM devices. This fixes
>> sysinstall to create /cdrom entries in /etc/fstab that just use the
>> raw CD-ROM device /dev/cd0, etc.
>
> I've also had this in my tree for ages:
>
> Index: usr.sbin/cdcontrol/cdcontrol.c
> ===================================================================
> RCS file: /home/ncvs/src/usr.sbin/cdcontrol/cdcontrol.c,v
> retrieving revision 1.42
> diff -u -r1.42 cdcontrol.c
> --- usr.sbin/cdcontrol/cdcontrol.c 18 Oct 2002 22:03:38 -0000 1.42
> +++ usr.sbin/cdcontrol/cdcontrol.c 20 Oct 2002 13:15:03 -0000
> @@ -51,7 +51,7 @@
> #define ASTS_VOID 0x15 /* No current audio status to return */
>
> #ifndef DEFAULT_CD_DRIVE
> -# define DEFAULT_CD_DRIVE "/dev/cd0c"
> +# define DEFAULT_CD_DRIVE "/dev/cd0"
> #endif
>
> #ifndef DEFAULT_CD_PARTITION
>
> Without this patch, you get
>
> cdcontrol: no CD device name specified, defaulting to /dev/cd0c
> cdcontrol: /dev/cd0cc: No such file or directory
Looks good to me.
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message