Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030199AbWHUGZX (ORCPT ); Mon, 21 Aug 2006 02:25:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030196AbWHUGZX (ORCPT ); Mon, 21 Aug 2006 02:25:23 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:35204 "EHLO mailer.gwdg.de") by vger.kernel.org with ESMTP id S964993AbWHUGZW (ORCPT ); Mon, 21 Aug 2006 02:25:22 -0400 Date: Mon, 21 Aug 2006 08:17:26 +0200 (MEST) From: Jan Engelhardt To: Lee Trager cc: Alan Cox , Seewer Philippe , Jeff Garzik , Gabor Gombas , Adrian Bunk , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: /dev/sd* In-Reply-To: <44E94CE0.8010006@PicturesInMotion.net> Message-ID: References: <1155144599.5729.226.camel@localhost.localdomain> <20060809212124.GC3691@stusta.de> <1155160903.5729.263.camel@localhost.localdomain> <20060809221857.GG3691@stusta.de> <20060810123643.GC25187@boogie.lpds.sztaki.hu> <44DB289A.4060503@garzik.org> <44E3DFD6.4010504@PicturesInMotion.net> <44E42900.1030905@PicturesInMotion.net> <44E56804.1080906@bfh.ch> <1155913072.28764.3.camel@localhost.localdomain> <1155920541.30279.11.camel@localhost.localdomain> <44E94CE0.8010006@PicturesInMotion.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 26 >>> Whatever udev does currently seems good: >>> >>> 17:48 shanghai:~ > ls /dev/disk/by-id/* >>> /dev/disk/by-id/ata-DIAMOND_250G_2B5400_030400026 >>> /dev/disk/by-id/ata-DIAMOND_250G_2B5400_030400026-part1 >>> /dev/disk/by-id/usb-0_USB_DRIVE_0000000000004287 >>> /dev/disk/by-id/usb-0_USB_DRIVE_0000000000004287-part1 >> >> I wouldn't try that on a typical "non technical user", at least except >> for Halloween 8) >> >Why not make libata use /dev/disk by default and have a kernel option >for legacy naming(ide disks are hda, sata are sda etc)? The kernel does not really know about device names. It is all udev that manages it. Or the user, in case he can manage to get fixed device numbers. Jan Engelhardt -- - 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/