Auto expanding filesystem

O'Connor, Daniel darius at dons.net.au
Thu Jan 31 07:31:29 UTC 2019



> On 31 Jan 2019, at 08:36, Russell Haley <russ.haley at gmail.com> wrote:
> I was wondering how the auto-expanding filesystem on the FreeBSD provided
> arm images works? An RTFM link or link to code would be great. I just a
> thread to pull on as I don't even know where to start.

They work by using gpart to resize then run growfs.
https://svnweb.freebsd.org/base/release/11.2.0/etc/rc.d/growfs?revision=335563&view=markup

(Not sure where it got moved in head..)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum




More information about the freebsd-arm mailing list