[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partman - s390 support



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.

Bastian

-- 
Four thousand throats may be cut in one night by a running man.
		-- Klingon Soldier, "Day of the Dove", stardate unknown

Attachment: signature.asc
Description: Digital signature


Reply to: