Dear Lenneart, >Most common for disk devices is XXYZ where XX is some name for the >driver (hd for ide, sd for scsi, other things for other drive types), Y >is a letter (a for first, b for second, c for third, etc) and Z is the >partition number. So in your case you could have: > >tfaa for first slot >tfaa1 for first partition on first slot. >tfab for second slot >tfab4 for 4th partition on second slot. >Or call it tf and use tfa1 tfb4 etc.
That's fine. My controller itself alone handle FOUR device at a time (u mea these should be (tfa, b , c d) But how do I represent if I have more than one such controller i.e. it is more 4 devices each with more parttions again. Thanks & Regards, Mukund Jampala > >> I have four sockets on which I have to support individual device with >> partitions on them. Is there a better conventional way to represent all >> the four devices? My driver also supports 4 such controllers. To support >> first socket device on the second controller I am using tfb0, tfb0p1, >> tfb0p2... > >Well at least ide and scsi don't care which controller, they still just >name them in order. You could just use tfa up to tfp for the devices. >That is what I would do unless the seperate controllers really make more >sense to users (counting to slot 16 might be a bit much using letters >for some users). > >Maybe tf1a2 for controller 1 slot a partition 2 would be nicer to the >user. Some raid cards do use /dev/raidname/c1d2p3 for card 1 device 2 >partition 3. Maybe you prefer that arangement. > >> I have left with handling lot of generalization in the code. > >Len Sorensen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/