On Mon, Mar 08, 2004 at 08:44:38AM +0100, Bastian Blank wrote: > On Sun, Mar 07, 2004 at 11:18:25PM +0100, Sven Luther wrote: > > > In _device_get_sector_size, it properly gets them with BLKSSZGET but > > > never sets the right value in the PedDevice struct. > > > > Err, where is the value phisically stored ? On the disks partition table ? > > On the disk partition entry ? Or is this a value the kernel knows about > > and tells userland in some way ? > > The linux kernel provides an ioctl to get this value (BLKSSZGET). It is > used in the function _device_get_sector_size, which also raises the > annoying message about this value. But the sector_size entry in the > PedDevice structure is never set to this value.
Ok, it is not stored on disk then. I will see what i can do about this, but i have not big hopes that this can be changed quickly in 1.6 of libparted, not sure though. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

