From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: "roberto.foglietta@gmail.com" <roberto.foglietta@gmail.com>,
"Schild, Henning" <henning.schild@siemens.com>
Cc: "isar-users@googlegroups.com" <isar-users@googlegroups.com>,
"Joe_MacDonald@mentor.com" <Joe_MacDonald@mentor.com>
Subject: Re: [PATCH v4 1/5] expand-on-first-boot: support resizing a btrfs
Date: Wed, 14 Dec 2022 03:33:09 +0000 [thread overview]
Message-ID: <e7278e7e510bb3eda23510a231f884574b005a1c.camel@siemens.com> (raw)
In-Reply-To: <CAJGKYO6zNCLHgZU1f3Fd5f8YuQkzgL5skwFkSE89c=32JaxdLQ@mail.gmail.com>
On Tue, 2022-12-13 at 22:20 +0100, Roberto A. Foglietta wrote:
> On Tue, 13 Dec 2022 at 22:06, Henning Schild <
> henning.schild@siemens.com> wrote:
> >
> > Am Tue, 13 Dec 2022 21:44:01 +0100
> > schrieb "Roberto A. Foglietta" <roberto.foglietta@gmail.com>:
> >
> > > On Tue, 13 Dec 2022 at 18:18, Henning Schild
> > > <henning.schild@siemens.com> wrote:
> > > >
> > > > Am Tue, 13 Dec 2022 17:45:23 +0100
> > > > schrieb "Roberto A. Foglietta" <roberto.foglietta@gmail.com>:
> > > >
> > > > > On Tue, 13 Dec 2022 at 11:15, <henning.schild@siemens.com>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > +MOUNT_POINT=$(mktemp -d -p "" "$(basename
> > > > > > "$0").XXXXXXXXXX")
> > > > >
> > > > > this uses /tmp which could not be available
> > > >
> > > > The remark from Felix triggered the switch from '-p "/mnt"' to
> > > > '-p
> > > > ""', one can set TMPDIR if that does not work.
> > > >
> > > > A valid remark, while yours seems made up just to keep trolling
> > > > around in the whole discussion. Stop it please.
> > >
> > > Please Hanning, tell to it to my ubuntu - she has some issue to
> > > understand your slang
> >
> > My name is "Henning" and yours is not Joe!
> >
> > > roberto:~$ export TMPDIR=/dev/shm
> > > roberto:~$ mktemp -d -p "" ciao.XXXXX
> > > /dev/shm/ciao.X3wlT
> > >
> > > Ah, oops - in this following way it working, instead
> > >
> > > roberto:~$ mktemp -d -p "$TMPDIR" ciao.XXXXX
> > > /dev/shm/ciao.jQFYr
> >
> > Not sure what i see here but it looks like both temporary
> > directories
> > have been created under TMPDIR with -p "" and with -p "$TMPDIR".
>
> What Felix tried to tell you was to use a variable like in my patch
> but using TMPDIR as the name of the variable. When that variable is
> not defined then "" is the default value. Now, what happens to mktemp
> when it is called with -p ""? Nothing bad, it simply performs without
> -p. Why was Felix pointing this out? Probably because in my patch tmp
> variable should be set if null but using mktemp this is not necessary
> anymore.
No! Please also stop guessing what I could have meant and wait at least
a day for me to answer (instead of trying to convince others of your
interpretation of my opinion).
The way Henning implemented it is exactly how I meant it.
As this whole thing runs as a systemd service, a user can easily set
TMPDIR via a drop-in file.
Felix
>
> >
> > I like the "ciao" since it seems to suggest you are willing to
> > leave
> > it.
> >
>
> I have the light sensation that after two and more months needed to
> solve an issue that we solved in 2 days after my intervention in this
> list... ciao is for you.
>
> > Henning
> >
> > > Possibly you did not catch the Felix suggestion? LOL
> > >
> > > Ciao, R-
> >
next prev parent reply other threads:[~2022-12-14 3:33 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 10:15 [PATCH v4 0/5] expand-on-first-boot btrfs and CI testing henning.schild
2022-12-13 10:15 ` [PATCH v4 1/5] expand-on-first-boot: support resizing a btrfs henning.schild
2022-12-13 16:45 ` Roberto A. Foglietta
2022-12-13 17:18 ` Henning Schild
2022-12-13 20:44 ` Roberto A. Foglietta
2022-12-13 21:05 ` Henning Schild
2022-12-13 21:20 ` Roberto A. Foglietta
2022-12-14 3:33 ` Moessbauer, Felix [this message]
2022-12-14 6:50 ` Roberto A. Foglietta
2022-12-14 7:10 ` Roberto A. Foglietta
2022-12-13 17:01 ` Roberto A. Foglietta
2022-12-13 21:22 ` Henning Schild
2022-12-13 22:15 ` Roberto A. Foglietta
2022-12-13 10:15 ` [PATCH v4 2/5] meta-isar: introduce an example to use btrfs henning.schild
2022-12-13 10:15 ` [PATCH v4 3/5] CI: improve cibuilder readability henning.schild
2022-12-13 10:15 ` [PATCH v4 4/5] meta-isar: install expand-on-first-boot in most images and add space henning.schild
2022-12-13 10:15 ` [PATCH v4 5/5] CI: expect a message about filesystem resize vom expand script henning.schild
2022-12-13 10:25 ` [PATCH v4 0/5] expand-on-first-boot btrfs and CI testing Henning Schild
2022-12-20 9:37 ` Uladzimir Bely
2022-12-20 15:08 ` Henning Schild
2022-12-21 10:25 ` Uladzimir Bely
2022-12-21 12:13 ` Henning Schild
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=e7278e7e510bb3eda23510a231f884574b005a1c.camel@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=Joe_MacDonald@mentor.com \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=roberto.foglietta@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox