From owner-freebsd-bugs@freebsd.org Tue Jul 7 15:57:41 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50CCF99649A for ; Tue, 7 Jul 2015 15:57:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D145143C for ; Tue, 7 Jul 2015 15:57:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t67FvfVJ016644 for ; Tue, 7 Jul 2015 15:57:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194077] Improper enumerate ada (da) device ID in 10.1-R Date: Tue, 07 Jul 2015 15:57:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 15:57:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194077 --- Comment #3 from Alexander Motin --- The new device naming scheme was introduced several years ago simply because previous one was not working for more complicated configurations with port multipliers, etc. People for whom old device<->port binding was critical can still manage it via loader tunables, as described in cam(4). Though better way to handle this is via using some kinds of on-disk metadata, such as partition labels, etc. There are GEOM providers with disk serial numbers, if you wish to go that way and mount file systems via disk serial numbers, though I personally don't like that. Requested wiring of boot device to ada0 is problematic, since there is no any relations between boot device numbering in BIOS and one detected by system. While it is odd, technically it is possible to boot from one device, while mount root from another. People in embedded environments do this sometimes. Wiring of device number to serial number is currently not supported, though it probably can be implemented. At this point FreeBSD has no any cross-reboot persistent database to store device mapping (is not count loader tunables). You may say that it is bad, but there are other opinions -- for example, that properly configured system will work fine independently of hardware it is booting on. -- You are receiving this mail because: You are the assignee for the bug.