lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Congrats to Richard Gooch
[chhellwig@gmx.net]
>
> BTW I really like devfs, but the new names for mass storage are even uglier then
> the old ones ...
> It really sucks to type "mkfs.ext /dev/ide/host0/bus0/target0/lun0/part1".
>
> I'd prefer something like:
> /dev/dsk/at0d0a
> | | | |
> | | | | BSD-like character for partition [a=1, b=2, ...]
> | | | d<devicenum (scsi-id for scsi, 0 for ide master, 1 for ide slave, ...)>
> | | an two-character-prefix for the device-type (at for ata/ide, sc for scsi) and the bus number
> | directory /dev/dsk/ for all disks
>
> I it is needed (and only _if_) there could be lX for lun x between dX and <partiotion character> like:
> /dev/dsk/sc0d5l2a.

Making use of the directory hierarchy can be convenient.

You might consider something like /dev/disk/scsi/1/4/0/0_3
(this is how we'd name scsi controller 1, ID 4, lun 0, partition 3 on BeOS).

The IDE names like /dev/disk/ide/ata/0/master/0/0_2 are a bit more verbose
and I'm less fond of them.

Brian

--
Brian Swetland | Kernel Engineer | "Home is where the dot files are."
swetland@be.com | Be Incorporated | -- Keith Garner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.032 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site