Skip to contentSkip to conversation

Disk Partitioning

DISCUSSION Aldo Gavioli 1 participant 1 message May 25, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

Hello All,
I'm trying to attach one SCSI driver to kernel 2.6 in order to pilot optical disk type WORM.

I have a problem in accessing to a different partition than 0.

On kernel 2.4 I could use the gendisk.part directy to set up my private partitioning.
On kernel 2.6 I'm using the add_disk functon, but I did not see any possibility to set the disk->part field of gendisk struct.

How can I set my private partition in gendisk struct ?

Thanks
Aldo

Signature · 4 lines
Aldo Gavioli
Product Manager
NetStorage Software s.r.l
Viale Europa,74 - 20090 Cusago (Milan) Italy - Web: www.netstorage.it