resizing rootfs to fit the disk
Paul Fox
pgf at laptop.org
Wed Mar 10 22:56:54 EST 2010
john wrote:
> > > but again: where should such a flag go? is there a precedent
> > > for such things?
> >
> > /.i-am-a-hidden-flag ?
>
> Safety would argue for doing the opposite:
>
> * Build the installation images to contain a file like "/.resize-root-once".
> * If that file is present
> ** Remove the file
> ** Sync the disk
> ** Attempt the online resize
> ** Sync the disk again
> * If that file is not present
> ** Do nothing. Leave the filesystem alone!
>
> The idea of a Linux system that, when it boots, resizes the
> root filesystem every time to try to fill up the entire drive
> it's on, fills me with horror.
:-) well, that was certainly never my intention.
> I prefer to partition my disks myself, thank you.
i take your point, and martin's. a flag file of some sort it is, then.
paul
=---------------------
paul fox, pgf at laptop.org
More information about the Devel
mailing list