On Tue, Oct 16, 2007 at 12:32:21PM +0930, Edwards, David (JTS) wrote:
> I was hoping to use physical lables on the USB disks
> with labelled USB cables but I've just found out during
> testing that the connection between a USB device and a
> physical cable is not as simple as I first thought.
>
> -Original Message-
> From: Antti Harri [mailto:[EMAIL PROTECTED]
> Sent: Monday, 15 October 2007 6:24 PM
> To: Edwards, David (JTS)
> Cc: misc@openbsd.org
> Subject: Re: : Which remvable drive is connected to which USB port
>
> Hi,
>
> I haven't follow
On Mon, Oct 15, 2007 at 11:54:12AM +0300, Antti Harri wrote:
> Hi,
>
> I haven't followed this thread but this sounds like
> similar to the problem I had with USB printers.
> I had several and turning them randomly on made them have
> different ulptX device. I made a script for hotplug
> that creat
On Mon, 15 Oct 2007, Edwards, David (JTS) wrote:
> > -Original Message-
> > From: Otto Moerbeek [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 12 October 2007 5:53 PM
> > To: Raimo Niskanen
> > Cc: Edwards, David (JTS); misc@openbsd.org
> > Subject: Re:
Hi,
I haven't followed this thread but this sounds like
similar to the problem I had with USB printers.
I had several and turning them randomly on made them have
different ulptX device. I made a script for hotplug
that creates symlink that points to the right
device node. So, if you modify my scr
On Fri, Oct 12, 2007 at 10:25:51AM -0400, Nick Guenther wrote:
> On 10/12/07, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> > On 2007/10/12 11:47, Raimo Niskanen wrote:
> > > > Use the disklabel: it has a disk name field that can be edited.
> > >
> > > Great proposal!
> > >
> > > I may be blind, bu
> -Original Message-
> From: Otto Moerbeek [mailto:[EMAIL PROTECTED]
> Sent: Friday, 12 October 2007 5:53 PM
> To: Raimo Niskanen
> Cc: Edwards, David (JTS); misc@openbsd.org
> Subject: Re: : Which remvable drive is connected to which USB port
>
>
> On Fri,
On 10/11/07, Edwards, David (JTS) <[EMAIL PROTECTED]> wrote:
> So, basically I need a tool where I can start with a physical port
> description (seems /dev/usb# "addr #" works) and end with a disk
> device (sd#).
> I'll take the time to have a look at the sources one day. I'm
> sure it would be p
On 10/12/07, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> On 2007/10/12 11:47, Raimo Niskanen wrote:
> > > Use the disklabel: it has a disk name field that can be edited.
> >
> > Great proposal!
> >
> > I may be blind, but can not find an editable name field. Which is it?
> > And how can I edit it
On Fri, 12 Oct 2007, Raimo Niskanen wrote:
> On Fri, Oct 12, 2007 at 10:23:16AM +0200, Otto Moerbeek wrote:
> > I can see an easy way to identify disks, without any dependency on the
> > physical stuff like cables etc.
> >
> > Use the disklabel: it has a disk name field that can be edited.
>
>
On 2007/10/12 11:47, Raimo Niskanen wrote:
> > Use the disklabel: it has a disk name field that can be edited.
>
> Great proposal!
>
> I may be blind, but can not find an editable name field. Which is it?
> And how can I edit it?
Label - you can edit it with disklabel -e.
IL PROTECTED]
> > > > Sent: Thursday, 11 October 2007 8:01 PM
> > > > To: Edwards, David (JTS)
> > > > Cc: misc@openbsd.org
> > > > Subject: Re: Which remvable drive is connected to which USB port
> > > >
> > > > On 10/11/07, Edw
To: Edwards, David (JTS)
> > > Cc: misc@openbsd.org
> > > Subject: Re: Which remvable drive is connected to which USB port
> > >
> > > On 10/11/07, Edwards, David (JTS)
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi again.
> > > >
&
Subject: Re: Which remvable drive is connected to which USB port
> >
> > On 10/11/07, Edwards, David (JTS)
> > <[EMAIL PROTECTED]> wrote:
> > > Hi again.
> > >
> > > Just a wrap up to this thread.
> > > -
> [snip]
>
> >
> -Original Message-
> From: Nick Guenther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 11 October 2007 8:01 PM
> To: Edwards, David (JTS)
> Cc: misc@openbsd.org
> Subject: Re: Which remvable drive is connected to which USB port
>
> On 10/11/07, Edwards, David (
On 10/11/07, Edwards, David (JTS) <[EMAIL PROTECTED]> wrote:
> Hi again.
>
> Just a wrap up to this thread.
> -
>
> Disk naming seems to be consistent after you first plug the device in.
>
> So:
> The first disk plugged into a port (say "addr 2") gets sd1 (if your SATA
> disk is sd
Hi again.
Just a wrap up to this thread.
>From what I can see, the only way to do this is to grep through dmesg.
The following script returns the disk attached to a physical usb port.
Ports seem to be named like so:
/dev/usb4 "addr 4".
On my box, this is the 3rd physical port on a 4-port extern
17 matches
Mail list logo