Re: cvs commit: src/usr.sbin/sysinstall devices.c

[ Available lists | Index of cvs-all | Month of Dec 2002 | Week of 2 Dec 2002 | Raw email | View thread | Wrap long lines | Reply ]
From
John Baldwin <jhb@FreeBSD.org>
Date
2 Dec 2002 10:52:34
Subject
Re: cvs commit: src/usr.sbin/sysinstall devices.c
Message-ID
XFMail.20021202135226.jhb@FreeBSD.org

In reply to

[ Hide this part ]
 
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



Elapsed time: 0.099 seconds