Subject: other-endian filesystems
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 02/12/1996 16:23:37
A little while ago, someone was talking about doing work with
other-endian filesystems (whichever "other" is for the machine in
question :-). This person asked for a sample big-endian filesystem.
Now, I can't recall who it was, but it turns out that an empty
filesystem compresses pretty amazingly. This is the first instance
I've ever seen of gzip producing as output something that, when gzipped
again, shrinks significantly. In fact, the second gzip's output is so
tiny I'll include it here, not even bothering with out-of-band shipping
to the person who asked for it.
uudecode this to get small-filesys.gz.gz, then
"cat small-filesys.gz.gz | gunzip | gunzip" should write 4 megabytes to
stdout. This is a big-endian (SPARC, to be exact) filesystem with
nothing in it. I newfsed it, fscked it, mounted it, unmounted it,
fscked it again, and this is the result.
begin 644 small-filesys.gz.gz
M'XL(`%:E'S$"`Y/OYN`(6RIOR,1<G)N8DZ.;EIF36EQ9S/#VMFV>L*,(PX.;
M6Y7GL#AYK7@C++'47_`=@ZV31TA`H!N7^`)_0==,I<""5@^9HZI!+2Z.CHTV
M>Q*O<7EX_@AVV?/3[G=E>EE:V=J;7\WRYP@Q0,`%Y=F"WY74!'\OG5?\;XNI
MG=T*W_+YQ]V#9[<O_:^1M%1Z]]S/.D__;)WRWF7-U6^75'E?[0C<<MZ[=NOM
M_<(7RQZK;SWO_^UU95OW>[.7N_*O2>Q9?]1HG67O+\\IYEYO#W9/7Q]S;O;;
MTYNW__]XY_TER^_&IU?;;-CV^G-6^A63ZIWOY,IO.V[_6W=6.6R>BXWOV;_N
M@7OG[&0%.^M!5LR4__6;<W[6[V"[T_E7\3\_6/C`IXA<^>LV]86.<7^_3U6I
M_?GY:[N$?5>%[/$9KF_<9.8N_?/_1M6JURS_]*XIZU7>W647GFQW_H[(_AWB
MC\PM=I]ZS`SQ])=CA_OM]3PR+E_[\6/#%+'7BN>NN2Y97&\3NMO"C&%`P)<(
MX?>7I["I!]XSD(4*;9ARJZ3ZAL_NHL^5-_R6J[$RC()1,`I&P2@8!:-@%(R"
A43`*1L$H&`6C@"!8\'X?H^%Y:7$&!@<&`+#ZKC]D$0``
`
end
der Mouse
mouse@collatz.mcrcim.mcgill.edu