Re: Accessing disks via their serial numbers.
- From: "Poul-Henning Kamp" <phk@xxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 12:55:00 +0000
In message <20060626083828.GA18912@xxxxxxxxxxxx>, Paul Schenkeveld writes:
I don't want to change the way the world is and certainly not violate POLA
but just to add another angle to the discussion, life would be nice if
we had something like:
/dev/ad/0
/dev/ad/0/whole_disk
/dev/ad/0/s1
/dev/ad/0/s1a
/dev/ad/0/s1c
and
/dev/ad/<SERIAL> -> 0
This would take a bit of work to implement, currently we do not support
adding DEVFS symlinks in the kernel that point to directory.
Also, from experience, a lot of weird software needs to learn about
all the '/' you insert in disknames.
As far as I know, for ATA the problem is solved with ATA_STATIC_ID,
and IMO it is solved better that way.
This then begs the question if we should instead introduce a generic
DISK_STATIC_ID which all controllers respect ?
For CAM disks I guess this would mean encoding all of (bus,id,lun)
in the device name:
/dev/da0:0:1
or some such.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Accessing disks via their serial numbers.
- From: Paul Schenkeveld
- Re: Accessing disks via their serial numbers.
- References:
- Re: Accessing disks via their serial numbers.
- From: Paul Schenkeveld
- Re: Accessing disks via their serial numbers.
- Prev by Date: Re: Accessing disks via their serial numbers.
- Next by Date: Re: Accessing disks via their serial numbers.
- Previous by thread: Re: Accessing disks via their serial numbers.
- Next by thread: Re: Accessing disks via their serial numbers.
- Index(es):
Relevant Pages
|
|