[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kenneth R Westerback <krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 11 Jan 2006 18:06:27 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/01/11 18:06:27
Modified files:
sys/scsi : cd.c
Log message:
Don't populate the fabricated disklabel's partition info from track
information in the TOC. The partition info is just overwritten or
rendered incomplete by readdisklabel().
Just examine the TOC to determine if the cd is audio only, i.e. it has
a valid TOC but no data tracks. In this case don't call
readdisklabel(). Much simpler code. No functional change for single
data track CD's like the install media.
ok pedro_(_at_)__(_dot_)_
Visit your host, monkey.org