On Thu, Aug 09, 2001 at 03:55:44AM +0000, Detlef Vollmann wrote:
> > > 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).
> > You're after the -d size=XXXb option, which I think would most
> > closely match the optional [blocks] parameter of mkfs.
> If I read the manpage correctly, that filesystem would not
> fit into a device with size xxxb, as the log is still added.
The log is either internal (ie. part of the data volume), in
which case its size must be accounted for in sizing the data
volume; or its external in which case you would have to give
other mkfs options to show where it lives, and it would have
to be on a different device.
So, I think you'll find mkfs.xfs does all these computations