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

Bug#474698: partman-base: Inconsistent output if sector size != 512 bytes



Ferenc Wagner <wferi@niif.hu> writes:

>> Do you have any disk with sector size bigger then 512 bytes for
>> testing? ramdisk is not the best way of doing that.
>
> RAID1 of two ramdisks... :)  Jokes aside, fdisk says it has sector
> size 1024 and parted can open it (but not the constituent ramdisks).
>
>> I've made a test patch locally here but I can't test it.
>
> Unfortunately I don't have any such real hardware either, but why not
> test with the above trick?

Because ramdisks cannot be opened with O_DIRECT and lastest parted
needs it. This has been done long time ago to avoid some sync problems
with disks.

We could hack parted to allow it for testing but it's not a "real" test.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



Reply to: