TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Clegg
from: Vitus Jensen
date: 1995-03-01 23:38:06
subject: How Hpfs Works

Moin Andrew,

24.02.95 04:57, you wrote a message to Mike Bilow:

 MB>> OS/2 does not really know about sectors per se.  At a low level, OS/2
 MB>> uses a SCSI-like model for storage where blocks are allocated in some
 MB>> native size for the media and sequentially numbered beginning with
 MB>> zero.

 AC> So presumably... the kernel asks to read (for example) a particular 
 AC> block based on its block number, and the disk driver
 AC> converts this into a cylinder-sector-head address which it
 AC> thens asks the drive controller itself to
 AC> find? 

The filesystem driver asks DMD for a particular block number. 
DMD calls an ADD and provides this block number. The ADD may translate this
block number to Cylinder-Head-Sector or use it directly depending on the
drive controller interface. MFM, IDE ADDs would translate, SCSI ADDs would
not.

Exceptions:
- The ADD may request the DMD to use CHS addressing (flag per adapter).
This flag is set in IBM?FLPY.ADD.
- There may be filter drivers between DMD and ADD. Filter drivers are
allowed to change anything in the request block (consider a RAID.FLT which
stripes data blocks over several disks).

Bye,
	Vitus

--- Sqed/32 0.98/r00228
* Origin: Really a Point of BetaBox, Walheim (2:2474/100.20)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 2474/100 0 2476/2 2452/110 105/42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.