Newsgroups: comp.os.msdos.djgpp Subject: FAT Question. Message-ID: <331C5E79.6812@sirio.etsiig.uniovi.es> From: "Roberto Galan Fernandez." Date: Tue, 04 Mar 1997 18:40:09 +0100 Organization: E.U.I.T.Informatica de Gijon ASTURIAS Nntp-Posting-Host: atc00.etsiig.uniovi.es MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi, All: How can I covert one cluster number of the FAT (File Allocation Table) to a logic sector number? The way I use is this: aux= 1+(nš_FAT_copies * nš_sectors_per_FAT) + + (nš_directory_entries * nš_bytes_per_entry) logic_sector_number=(nš_cluster-2)*(nš_sectors_per_cluster)+(aux) Thanks, Roberto :-)