[comp.os.minix] minix cannot access the last sector of an odd-sized partition

meulenbr@cst.philips.nl (Frans Meulenbroeks) (07/17/90)

Hi!

I don't know if this is a bug or a feature, but fs/cache.c refuses to
read a block partially in the function rw_block.
If a part of a block is read, END_OF_FILE is marked, and the block is
invalidated. 
This is annoying since on the ST the partition table itself is
accessible through /dev/hd0, which is defined as a partition of 1
sector.

Currently there is no way to access this sector, so I changed the
partition size to 2 sectors. However, I'm not sure if rw_block shouldn't
have me given half a block.
--
Frans Meulenbroeks        (meulenbr@cst.philips.nl)
	Centre for Software Technology
	( or try: ...!mcsun!phigate!prle!cst!meulenbr)

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (07/18/90)

I am not sure if such information should be searched in /dev/rhd0 instead
of /dev/hd0....
I suppose you _can_ read a single sector from /dev/rhdo, am I right?

C.v.W.