From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753180AbcHNJJU (ORCPT ); Sun, 14 Aug 2016 05:09:20 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42343 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753147AbcHNJJS (ORCPT ); Sun, 14 Aug 2016 05:09:18 -0400 Date: Sun, 14 Aug 2016 11:09:15 +0200 From: Pavel Machek To: james harvey Cc: kernel list Subject: Re: Who reordered my disks (probably v4.8-rc1 problem) Message-ID: <20160814090914.GA24011@amd> References: <20160813190340.GA29989@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > Use static (persistent) naming instead, /dev/disk/by-label, > /dev/disk/by-id, /dev/disk/by-uuid, and if gpt /dev/disk/by-partlabel > and /dev/disk/by-partuuid Explain that to my bootloader. Kernel needs root= on a command line. > As you found, /dev/sdX bus names are assigned in the order they are > added, which for some time has not been guaranteed to remain > consistent between kernel versions or even subsequent boots on the > same kernel. Well, for usb, order is not guaranteed, for SATA, it worked. So that's a regression in v4.8-rc1. Yes, /dev/disk/by-* is good idea, but this broke my boot, probably broke some scripts that used for a long time... and kernel may not break working systems. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html