Path: utzoo!attcan!uunet!portal!cup.portal.com!Chuck_M_Grandgent From: Chuck_M_Grandgent@cup.portal.com Newsgroups: comp.os.minix Subject: fsck, diskio, fdisk, & large(r) disks Message-ID: <12985@cup.portal.com> Date: 28 Dec 88 01:43:02 GMT Organization: The Portal System (TM) Lines: 23 I've probably been guilty of not reading ALL the mail, but here's the situation: IBM PC Minix 1.2, partially updated to 1.3, working fine, DOS 3.1. I've just gone and switched from a 20MB type-2 disk (Fuji), to a 40MB type 40 (Seagate ST-251). Had a devil of a time, but now working fairly well. 1) Successfully used the new changes to fdisk to specify number of heads on ST-251 (6). 2) Successfully used the old 'vol' and 'tar' to do a multi-volume floppy save of Minix on 20MB disk and restore on 40MB disk (not entirely painless) 3) All working OK, except fsck, which "can't handle partitions with sector numbers > 65336 (unsigned int). Gather the following changes necessary: change part_offset in fsck.c to a long instead of unsigned int, and then also routine diskio(), which is assembler needs to be changed to handle a long sector offset. Currently using BIOS function for diskio(), would have to use a different one I suppose. I'm really nervous about running without being able to use fsck, what do I need to do ? =================================================================== sun!portal!cup.portal.com!chuck_m_grandgent Chuck Grandgent, K1OM, AEG Modicon, Industrial Automation Systems Group ===================================================================