search for: disk_sector_size

Displaying 2 results from an estimated 2 matches for "disk_sector_size".

2013 Feb 08
0
Test for GPT MBR code
...md.c +++ b/src/blockcmd.c @@ -146,7 +146,7 @@ scsi_init_drive(struct drive_s *drive, const char *s, int prio) // We do not bother with READ CAPACITY(16) because BIOS does not support // 64-bit LBA anyway. drive->blksize = be32_to_cpu(capdata.blksize); - if (drive->blksize != DISK_SECTOR_SIZE) { + if (drive->blksize != DISK_SECTOR_SIZE && drive->blksize != 4096) { dprintf(1, "%s: unsupported block size %d\n", s, drive->blksize); return -1; } patch is not 100% ok but allow to test GPT code (this patch return 4096 byte sectors even fo...
2013 Dec 18
1
Initial support for sector size >512
On 12/16/2013 05:18 AM, Frediano Ziglio wrote: > > Surely should apply to 4.xx where they was developed but I think I send > them for 5.xx. mbr part of patches was merged time ago. > Unfortunately I had no time to update other patches. If I remember there > was a problem on the way ADV was implemented (using the same sector). > > Unfortunately my company business required to