Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265868AbUAEDuq (ORCPT ); Sun, 4 Jan 2004 22:50:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265869AbUAEDuq (ORCPT ); Sun, 4 Jan 2004 22:50:46 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:54683 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S265868AbUAEDui (ORCPT ); Sun, 4 Jan 2004 22:50:38 -0500 Date: Mon, 5 Jan 2004 03:50:37 +0000 From: viro@parcelfarce.linux.theplanet.co.uk To: Linus Torvalds Cc: Daniel Jacobowitz , Andries Brouwer , Rob Love , rob@landley.net, Pascal Schmidt , linux-kernel@vger.kernel.org, Greg KH Subject: Re: udev and devfs - The final word Message-ID: <20040105035037.GD4176@parcelfarce.linux.theplanet.co.uk> References: <20040104000840.A3625@pclin040.win.tue.nl> <20040104034934.A3669@pclin040.win.tue.nl> <20040104142111.A11279@pclin040.win.tue.nl> <20040104230104.A11439@pclin040.win.tue.nl> <20040105030737.GA29964@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1475 Lines: 29 On Sun, Jan 04, 2004 at 07:33:16PM -0800, Linus Torvalds wrote: > Ahh. I'll buy into that, and yes, this is an example of something that > needs to be fixed. > > It shouldn't be fixed by saying "device numbers have to be stable across > reboots", because the fact is, we're most likely going to have storage > that is really really hard to enumerate in a repeatable fashion. > > So the _proper_ thing to do is to have the NFS server not use the device > number as part of fsid. It should use the _stable_ UUID of the filesystem > or some similar label. ... and we already have a way to specify it explicitly. Which, BTW, allows to take server down, copy exported fs from failing IDE disk to SCSI one and reexport. With clients remaining happy with you. Remember discussions circa 2.5.50 or so about that stuff? So we have tools for that. And it's 100% OK to say "if you are doing NFS export of filesystem that lives on $new_weird_device, explicit fsid= is not just a good idea, it's a must-have". What is _not_ OK, though, is to have folks suddenly see /dev/hda3 changing its device number - then we would break existing setups that worked all along; even if admin can fix the breakage, it's not a good thing to do. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/