Now sets the block size using the disk_environment information, and doesn't
just copy the partition block size anymore. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4680 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
32270ffe96
commit
f096bc378d
@ -194,7 +194,7 @@ amiga_rdb_scan_partition(int fd, partition_data *partition, void *_cookie)
|
||||
|
||||
child->offset = partition->offset + environment.Start();
|
||||
child->size = environment.Size();
|
||||
child->block_size = partition->block_size;
|
||||
child->block_size = environment.BlockSize();
|
||||
}
|
||||
|
||||
if (status == B_ENTRY_NOT_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user