New option for newfs(3) to make life with GEOM easier

Bernd Walter ticso at cicely12.cicely.de
Mon Sep 3 02:48:59 PDT 2007


On Mon, Sep 03, 2007 at 08:13:54AM +0200, Ivan Voras wrote:
> On 03/09/07, Dmitry Morozovsky <marck at rinet.ru> wrote:
> 
> > My example which leads me to write the patch: gcache under graid3.
> >
> > Since then, I usually reserve 8 sectors at the end of each file system - just
> > in case.
> 
> Ok. It looks sensible then to reserve > 1 sector. I think nobody will
> miss 4 KB of drive space today :)

Drives doesn't always mean HDD these days.
Floppies are rarely used, but still exists.
Memory disks are quite common on embedded systems running on flash
media, without space to waste, neither on MD nor on Flash.
Flash media doen't allways mean big modern CF cards, there are cases
with filesystems on e.g. small 2MB sized flash media.
Don't get me wrong, I'm not against cutting a few sectors per default,
just want to have a fallback.

However, I would still prefer if users get a warning if they try to
use a filesystem, which overflows the media.
I guess the foot-shooting is quite common about this point.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd at bwct.de           info at bwct.de            support at fizon.de


More information about the freebsd-fs mailing list