From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932373AbVHNHaH (ORCPT ); Sun, 14 Aug 2005 03:30:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932374AbVHNHaH (ORCPT ); Sun, 14 Aug 2005 03:30:07 -0400 Received: from ns9.hostinglmi.net ([213.194.149.146]:33750 "EHLO ns9.hostinglmi.net") by vger.kernel.org with ESMTP id S932373AbVHNHaF (ORCPT ); Sun, 14 Aug 2005 03:30:05 -0400 Date: Sun, 14 Aug 2005 09:32:57 +0200 From: DervishD To: Pete Zaitcev Cc: Bodo Eggert <7eggert@gmx.de>, harvested.in.lkml@7eggert.dyndns.org, vonbrand@inf.utfsm.cl, linux-kernel@vger.kernel.org Subject: Re: Problem with usb-storage and /dev/sd? Message-ID: <20050814073257.GA62@DervishD> Mail-Followup-To: Pete Zaitcev , Bodo Eggert <7eggert@gmx.de>, harvested.in.lkml@7eggert.dyndns.org, vonbrand@inf.utfsm.cl, linux-kernel@vger.kernel.org References: <4pzyn-10f-33@gated-at.bofh.it> <4AubX-4w6-9@gated-at.bofh.it> <20050812103832.28ff17a0.zaitcev@redhat.com> <20050813202046.50c41405.zaitcev@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050813202046.50c41405.zaitcev@redhat.com> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Pete :) * Pete Zaitcev dixit: > > A global unique ID won't work out to make all USB mass storage devices > > appear under a common mountpoint, especially if it is recreated while > > "formating" it. > That is correct, but not what Dervish wanted. He wanted to mount them > on separate pre-assigned mount points. If you want all of them to mount > on the same place, just use /dev/sda1! That's not possible. sd_mod will assign different devices for different USB gadgets, and that's my problem in the first case!. If I plug my USB-whatever, it gets assigned /dev/sda1 (for the first partition, I mean). If I unplug it and, after that, I plug any other USB device, it gets assigned /dev/sdb1, etc. Don't know if the culprit is usb-storage or sd_mod :? The problem is that I cannot know about which device was assigned (at least in 2.4.x) so I can modify fstab or even mount it. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net http://www.pleyades.net & http://www.gotesdelluna.net It's my PC and I'll cry if I want to...