View Single Post

  #4 (permalink)  
Old 06-29-2003
bd
 
Posts: n/a
Default Re: How are partitions numbered?

On Sat, 28 Jun 2003 18:25:29 -0700, Vilmos Soti wrote:

[snip]
> The scsi disks are named in a bit different matter. Say, you
> have three scsi cards, and on the first one you have one, on
> the second you have two, and on the third, you have one disk.
> So /dev/sda will be the sole disk on the first scsi card,
> /dev/sdb will be the scsi card with the lower scsi id on the
> second card, /dev/sdc will be the second (with a higher scsi
> id) disk on the second card, and /dev/sdd will be the sole
> drive on the third scsi card. The problem here is that if
> you remove a disk which is not the very last, then all the
> disks beyond that will cascade down and what used to be /dev/sdc
> can become /dev/sdb, etc.


devfs can help alleviate this - my ide-scsi cdrom is, for example:
lr-xr-xr-x 1 root root 31 Jun 27 16:54 /dev/sr0 ->
scsi/host0/bus0/target0/lun0/cd

As long as you use the overly verbose devfs filenames (or a symlink
thereof), they should remain unchanged (I think).

--
Freenet distribution not available
If the rich could pay the poor to die for them, what a living the poor
could make!

Reply With Quote