tech-kern archive

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

Re: blocksizes

kre%munnari.OZ.AU@localhost (Robert Elz) writes:

>Like most things, there is no universal correct answer here, simply
>deciding "always use bytes" because it seems simpler is unlikely to be
>the overall best answer.

I think the suggestion is to use block numbers (or some other form
of addressing larger units) only internally to some subsystem where
these have a meaning and to use byte counts between those subsystems.

After all, the hardware does use blocks.

Quotas should use the units the filesystem uses. For FFS that's
probably fragments.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index