On writing a small testsuite for a simple utility, I hit
several problems with mkfs.xfs (1.2.0):
Minor problem: syntax
mkfs.xfs does not conform to the mkfs syntax (at least not to
the one described in mkfs(8) on Linux and which I know since
more than 15 years now :-}
mkfs -t xfs /dev/xxx 1234
produces just an error message on the size parameter :-(
Bigger problem: semantics
In the native mkfs.xfs option list, I found nothing that resembles
the size parameter of the original mkfs command. I had to do
some computations and give size parameters for the different
parts (data and logging).
Real problem: size itself
I tried to create an xfs filesystem on a 4MB ramdisk (/dev/ram0),
but I found no combination of option that succeeded.
Did I not try hard enouh or is the lower limit for xfs size
larger than 4MB?
Detlef
--
Detlef Vollmann
vollmann engineering gmbh Tel: +41-41-4120911
P.O. Box 5106 Fax: +41-41-4120912
CH-6000 Luzern 5 / Switzerland eMail: dv@xxxxxxxxxxx
|