From owner-cvs-all Sat Jan 11 12:10:44 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E19137B405; Sat, 11 Jan 2003 12:10:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 187B243F5F; Sat, 11 Jan 2003 12:10:42 -0800 (PST) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0BKAffh080426; Sat, 11 Jan 2003 12:10:41 -0800 (PST) (envelope-from joerg@repoman.freebsd.org) Received: (from joerg@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0BKAfIZ080424; Sat, 11 Jan 2003 12:10:41 -0800 (PST) Message-Id: <200301112010.h0BKAfIZ080424@repoman.freebsd.org> From: Joerg Wunsch Date: Sat, 11 Jan 2003 12:10:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa fd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joerg 2003/01/11 12:10:41 PST Modified files: sys/isa fd.c Log: Bail out of fd_clone() if the parsed unit number doesn't match our expectation. This solves the problem, where in a constellation with two (or more) drives, an attempt is made to access a device name for that device using a historic partition letter, like /dev/fd1c. This is supposed to create a symlink to the master device, but previously, the link was always created to /dev/fd0, even if the request was for fd1*. Revision Changes Path 1.244 +3 -0 src/sys/isa/fd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message