All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Belisko" <marek.belisko@gmail.com>
To: yocto@lists.yoctoproject.org
Cc: Yocto list discussion <yocto@yoctoproject.org>
Subject: Re: [yocto] [WIC] Grow last partition up to disk size
Date: Thu, 30 Apr 2020 20:30:17 +0200	[thread overview]
Message-ID: <CAAfyv34CZUjDZZu0jeGmAZfkNkJDaDyTrNuYp6Mf2m97M2NtYw@mail.gmail.com> (raw)
In-Reply-To: <b70bbaae-b1d0-9b8c-add0-8f6c0b32a4e5@gmail.com>

On Thu, Apr 30, 2020 at 8:27 PM Khem Raj <raj.khem@gmail.com> wrote:
>
>
>
> On 4/30/20 11:25 AM, Marek Belisko wrote:
> > On Thu, Apr 30, 2020 at 8:23 PM Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >>
> >>
> >> On 4/30/20 11:16 AM, Marek Belisko wrote:
> >>> Hi Rudolf,
> >>>
> >>> On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif
> >>> <rudolf.streif@ibeeto.com> wrote:
> >>>>
> >>>> I was looking for a way in a wks file to have wic grow the last
> >>>> partition to fill up the remainder of the disk. Of course wic does not
> >>>> know how large the disk is but that could be a parameter.
> >>>>
> >>>> The alternative way is to use fixed-size and do the math manually but
> >>>> that would not allow wic to grow a partition based on content.
> >>> You can use https://manpages.debian.org/testing/systemd/systemd-growfs.8.en.html
> >>> which grow partition to the end.
> >>
> >> can it grow a mounted partition ? since that will be the case when
> >> growing rootfs partition.
> > It will grow last partition in first boot only.
>
> my question was will it grow a mounted rootfs parition if that happens
> tobe the last partition, I understand it will grow last partion and do
> it as firstboot service.
I usually use it in case when have dual rootfs (A, B) and data
partition which is expanded to then end of disk.
I don't have experience with growing rootfs (I think it can grow only
not mounted partitions)
>
> >>
> >>>>
> >>>> :rjs
> >>>>
> >>>>
> >>>>
> >>>
> >>> BR,
> >>>
> >>> marek
> >>>
> >>>
> >>>
> >>>
> >>
> >
> > BR,
> >
> > marek
> >
> >
> >
> >
> 

marek


-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

  reply	other threads:[~2020-04-30 18:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30 17:39 [WIC] Grow last partition up to disk size Rudolf J Streif
2020-04-30 18:16 ` [yocto] " Marek Belisko
2020-04-30 18:23   ` Khem Raj
2020-04-30 18:25     ` Marek Belisko
2020-04-30 18:27       ` Khem Raj
2020-04-30 18:30         ` Marek Belisko [this message]
2020-04-30 19:10           ` Michael Nazzareno Trimarchi
     [not found]           ` <160AAEA430561E1B.4948@lists.yoctoproject.org>
2020-04-30 19:13             ` Michael Nazzareno Trimarchi
2020-04-30 23:11               ` Rudolf J Streif
2020-04-30 23:17                 ` Khem Raj
2020-05-01  6:47                 ` Gmane Admin
2020-05-01  7:06                   ` [yocto] " Michael Nazzareno Trimarchi
2020-05-18  9:39     ` Mike Looijmans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAfyv34CZUjDZZu0jeGmAZfkNkJDaDyTrNuYp6Mf2m97M2NtYw@mail.gmail.com \
    --to=marek.belisko@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.