[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Minixfs 0.60 pre-alpha, patch 1



	Here is patch level 1 to minixfs 0.60 pre-alpha. Seems like the
ground rules changed from gcc 2.1 to 2.3.3. I was using the older version
and 2.3.3 didn't like some of my code, the result was that it wouldn't write
to filesystems and complained "alloc_bit: this can't happen". Anyway, this
patch fixes it and adds a few cosmetic changes to keep gcc -Wall happy in
2.3.3. My thanks to Michael for reporting the problem; hopefully it's OK now.
	Julian: readlabel *does* return EFILNF.
	A few other musings: fsck doesn't work on partitions that require 
lrecno in fact it may well trash them badly. Having said that, due to a 
fatal bug in hard disk driver software, this feature can't be used anyway.
I'll try to get this going, on the few pieces of driver software that use
the XHDI standard (no, I hadn't heard of it either until Julian pointed
me in the direction of some docs), when I get hold of a test binary of an
XHDI compliant driver.
	If anyone knows a way of accessing large partitions in 512 byte 
or 1K chunks let me know. The only ways I know of are with lrecno and
Rwabs in logical mode (which doesn't work), lrecno and Rwabs in physical
sector mode (which needs the partition info to be manually interpreted,
and can trigger even nastier bugs which trash hard disks) or XHDI.
	I'd be interested to know how the 'rumoured' Macintosh driver
accesses Mac partitions (which have a different partition id) assuming it
isn't via partition table interpretation.
	Enough waffle, patch follows.
Have fun, Steve.

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 pl1.zoo
M6D]/(#(N,3 @07)C:&EV92X:  #<I\3]*@   -;___\"  $	#W*?
M_0("-0@  '$   !N&L.L?DJ((@  Q <   (!	       !P;#$  #!XHQO_y
M  _<"@ $.&4	 I %	 0"DC*	%_'.;U;<BWN--2W/_WD%3<KCL\W))x
M9+74NVET*;NVZK+3D';JJ=<\Y/=7&V>;EW;O=WQN_][WFY);;=.MMZ[MWA(%w
MW<"0"78 )"2,$,(Q  2"!,HRA(P.Q1& 8)A&>=P[21MMNWS0PA6@.#v
M;?CKMVJ[^AB-&;S0S:&\:?*W #?-I=OM5:M7KZ-3;PXP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