[comp.os.minix] 1.2M maj,min? + cdiff addition

wkt@rodos2.cs.adfa.oz.au (Warren Toomey) (09/05/90)

Could anybody please tell me what the major, minor, block values are
for an IBM-PC 1.2M floppy reading 1.2M floppies? Other floppies?

P.S Here is a patch to cdiff.c, which includes the crc of the old and
    new files. It hasn't been tested under Minix, just Unix, but the
    changes are small (about 10 lines).

    Warren Toomey

begin 700 cdiff.cdif
M*BHJ(#4U-3 S(" @-38V.2!C9&EF9BYC"49R:2!&96(@(#(@,#(Z-3<Z-#<@
M,3DY, HM+2T@-C0R.30@(" V,3$Y(%-R8R]C9&EF9BYC"5=E9"!397 @(#4@
M,30Z,34Z,C0@,3DY, HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#$T+#(P("HJ*BH*
M(" *("!C:&%R(&)U9F9;-3$R73L*(" *(2!&24Q%("II;G!U=&9P+" J;VQD
M9G L("IN97=F<#L*("!C:&%R("IC=&EM92@I.PH@( H@(&EN="!O;&1M:6XL
M(&]L9&UA>"P@;F5W;6EN+"!N97=M87@["BTM+2 Q-"PR," M+2TM"B @"B @
M8VAA<B!B=69F6S4Q,ET["B @"B$@1DE,12 J:6YP=71F<"P@*F]L9&9P+" J
M;F5W9G L("IC<F-F<#L*("!C:&%R("IC=&EM92@I.PH@( H@(&EN="!O;&1M
M:6XL(&]L9&UA>"P@;F5W;6EN+"!N97=M87@["BHJ*BHJ*BHJ*BHJ*BHJ*@HJ
M*BH@.#4L.30@*BHJ*@H@( EF<')I;G1F*'-T9&5R<BP@(D-A;B=T(&]P96X@
M)7-<;B(L(&YE=RD["B @"65X:70H,2D["B @("!]"B @("!F<W1A="AF:6QE
M;F\H;VQD9G I+" F<W1A=&)U9BD["B$@("!P<FEN=&8H(BHJ*B E<UQT)7,B
M+"!O;&0L(&-T:6UE*"9S=&%T8G5F+G-T7VUT:6UE*2D["B @("!F<W1A="AF
M:6QE;F\H;F5W9G I+" F<W1A=&)U9BD["B$@("!P<FEN=&8H(BTM+2 E<UQT
M)7,B+"!N97<L(&-T:6UE*"9S=&%T8G5F+G-T7VUT:6UE*2D["B @"B @("!P
M<F5O;&1E;F0@/2 M,3 P,#L*(" *+2TM(#@U+#$Q," M+2TM"B @"69P<FEN
M=&8H<W1D97)R+" B0V%N)W0@;W!E;B E<UQN(BP@;F5W*3L*(" )97AI="@Q
M*3L*(" @('T**R @('-P<FEN=&8H8G5F9BP@(F-R8R E<R(L(&]L9"D["BL@
M("!C<F-F<" ]('!O<&5N*&)U9F8L(")R(BD["BL@("!I9B H(6-R8V9P*2![
M"BL@"69P<FEN=&8H<W1D97)R+" B0V%N)W0@97AE8W5T92!C<F,@)7-<;B(L
M(&]L9"D["BL@"65X:70H,2D["BL@("!]"BL@("!F;W(@*&D],#LA9F5O9BAC
M<F-F<"D[:2LK*2!B=69F6VE=/69G971C*&-R8V9P*3L**R @(&)U9F9;:2TR
M73TP.R!F8VQO<V4H8W)C9G I.PH@(" @9G-T870H9FEL96YO*&]L9&9P*2P@
M)G-T871B=68I.PHA(" @<')I;G1F*"(J*BH@)7-<="5S(BP@8G5F9BP@8W1I
M;64H)G-T871B=68N<W1?;71I;64I*3L*(2 @('-P<FEN=&8H8G5F9BP@(F-R
M8R E<R(L(&YE=RD["B$@("!C<F-F<" ]('!O<&5N*&)U9F8L(")R(BD["B$@
M("!I9B H(6-R8V9P*2!["B$@"69P<FEN=&8H<W1D97)R+" B0V%N)W0@97AE
M8W5T92!C<F,@)7-<;B(L(&YE=RD["B$@"65X:70H,2D["B$@("!]"B$@("!F
M;W(@*&D],#LA9F5O9BAC<F-F<"D[:2LK*2!B=69F6VE=/69G971C*&-R8V9P
M*3L*(2 @(&)U9F9;:2TR73TP.R!F8VQO<V4H8W)C9G I.PH@(" @9G-T870H
M9FEL96YO*&YE=V9P*2P@)G-T871B=68I.PHA(" @<')I;G1F*"(M+2T@)7-<
M="5S(BP@8G5F9BP@8W1I;64H)G-T871B=68N<W1?;71I;64I*3L*(" *(" @
7('!R96]L9&5N9" ]("TQ,# P.PH@( IB
 
end


       Warren Toomey VK2XWT, tired
 Deep in the bowels of ADFA Comp Science.
`Have you seen my white fluffy one around?'

ast@cs.vu.nl (Andy Tanenbaum) (09/07/90)

In article <1877@ccadfa.adfa.oz.au> wkt@rodos2.cs.adfa.oz.au (Warren Toomey) writes:
>Could anybody please tell me what the major, minor, block values are
>for an IBM-PC 1.2M floppy reading 1.2M floppies? Other floppies?
>
.TS
center allbox;
c s s s s s s
l c c c c c l.
\fBMinor devices for diskette/drive combinations\fR
\fBName	Minor dev.	Inches	Drive	Diskette	Size	Parameters\fR
/dev/fd0	\00	5.25	360K	360K/1.2M	All	Variable
/dev/fd1	\01	5.25	360K	360K/1.2M	All	Variable
/dev/pc0	\04	5.25	360K	360K	360K	Fixed
/dev/pc1	\05	5.25	360K	360K	360K	Fixed
/dev/at0	\08	5.25	1.2M	1.2M	1.2M	Fixed
/dev/at1	\09	5.25	1.2M	1.2M	1.2M	Fixed
/dev/qd0	 12	5.25	720K	360K	360K	Fixed
/dev/qd1	 13	5.25	720K	360K	360K	Fixed
/dev/ps0	 16	3.5\0	720K	720K	720K	Fixed
/dev/ps1	 17	3.5\0	720K	720K	720K	Fixed
/dev/pat0	 20	5.25	1.2M	360K	360K	Fixed
/dev/pat1	 21	5.25	1.2M	360K	360K	Fixed
/dev/qh0	 24	5.25	1.2M	720K	720K	Fixed
/dev/qh1	 25	5.25	1.2M	720K	720K	Fixed
/dev/PS0	 28	3.5\0	1.44M	1.44M	1.44M	Fixed
/dev/PS1	 29	3.5\0	1.44M	1.44M	1.44M	Fixed
.TE

>P.S Here is a patch to cdiff.c, which includes the crc of the old and
>    new files. It hasn't been tested under Minix, just Unix, 

C'mon Warren.  You should know better than that.  Please test software on
the machine it is intended for before posting it.  There are so many things
that can go wrong, that testing is really essential.

Andy Tanenbaum (ast@cs.vu.nl)