:: Re: [DNG] ASCII on rpi1 & resize ro…
Página Inicial
Delete this message
Reply to this message
Autor: Adam Borowski
Data:  
Para: dng
Assunto: Re: [DNG] ASCII on rpi1 & resize root partition?
On Wed, Jun 26, 2019 at 01:06:24PM +0200, J. Fahrner via Dng wrote:
> Am 2019-06-26 07:58, schrieb Thomas Besser via Dng:
> > what's the easiest way to resize the root partition to the full size
> > of the sdcard?
> >
> > On raspbian it is done with 'raspi-config' which is not available in
> > devuan.
>
> You cannot resize a mounted partition.


Eh? The only commonly used filesystem that doesn't support online growing
is vfat (and it's used only because of @#$$%^&* Windows and @#$%^&* EFI).

Legacy filesystems like ext4 also allow growing only (no shrinking) but in
this use case the image needs to be pre-shrunk before transport for other
reasons anyway, so that's not a concern.

> raspi-config installs a boot script to resize it on next boot.


I haven't used Raspberry is a long long while (there's plenty of other SoCs
both cheaper+saner, or more performant+featureful -- often above cheap
regular desktops (like NUCs)), but IIRC raspi-config uses ext4 with online
grow. Other images do ext4 or f2fs, also in an init script (or the worse
alternative...) during first boot.


Meow!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Packager's rule #1: upstream _always_ screws something up. This
⢿⡄⠘⠷⠚⠋⠀ is true especially if you're packaging your own project.
⠈⠳⣄⠀⠀⠀⠀