From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7176574724112121856 X-Received: by 2002:a17:902:e94e:b0:188:f3b9:7156 with SMTP id b14-20020a170902e94e00b00188f3b97156mr9169772pll.76.1670966452182; Tue, 13 Dec 2022 13:20:52 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:2a03:b0:219:84d6:9802 with SMTP id i3-20020a17090a2a0300b0021984d69802ls23716570pjd.3.-pod-canary-gmail; Tue, 13 Dec 2022 13:20:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf45jf1UeTeOz1uoum6uiA4LBsz4Zp8iBmCFJJlHZ6CTcwYbyXbwcgAlVHLYfgmhBSMbZ9ek X-Received: by 2002:a05:6a21:108f:b0:9e:ae77:aad7 with SMTP id nl15-20020a056a21108f00b0009eae77aad7mr20538298pzb.29.1670966451250; Tue, 13 Dec 2022 13:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670966451; cv=none; d=google.com; s=arc-20160816; b=oMI5L4NEpwyXgAXXJAOrSGCztScwlmGX3XHViUC1FhQGWHE8RcBiY5ToNEnn7ECxWF jHvfubA1Ii6qpXy2Hga+IYCRSzzAbcznZHHB/Q/Nwz9O47smeb1GrC/tapRC1x4ln0O0 ZAA/NH2ZAFA4On0hq3ZoZnnnoRgOEL3q/MTBneeYsD7O3AK8PGN+1jgM0PHlNSS82j1A 0mF3rXJc8ziUdtfQO9kmz4W3bqwUuEFITRp4UtqlY+RWU/itKOlTIWmBg5sxhe4ifTJ4 hmGfc+x5igLsU+69jRxuwV9I03smnJmYliT8ViOocpynf/WLHPwS8FJhAxIzhIyXQ+LL sOHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=4bZqXaF/NeoP2BNfQLqLtdMpvSqWcjzPHGimZLHjan0=; b=FrcZ2LkotSV5h9uox++hEHYSkYb5/YXGoDSwWl3bQRJRf6JZvisKcVGvhfEV8xkrW4 WRE8e3EgGdl9fZNKIlOxquASJdNrzb4hwPVbCpcEyimC3nu05zFh6zka83nrusx+7ga0 YsCE+0BA/7jSLP84xvp4APSiIHBhtRYyIKfl7dRnCe1f8K18sSmTD8oN9WPTXofLcQtb OSaRBF4S4O6EYrzffE3l9G/FNLj1gYKp2LM4GCbEVZM23NgVsYcGTT2QDYfXiSitt+9K NrhKnm+LMFSwNzPVf8DdkcJTtOZQs/jbIQsbpkgm2u8+/r3VHk1uhaTse9+JrRDB1hNg 0VJw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HiHzOZRj; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com. [2607:f8b0:4864:20::832]) by gmr-mx.google.com with ESMTPS id n15-20020a170902d2cf00b0018941ac5cc9si136083plc.3.2022.12.13.13.20.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Dec 2022 13:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) client-ip=2607:f8b0:4864:20::832; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HiHzOZRj; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x832.google.com with SMTP id h16so999901qtu.2 for ; Tue, 13 Dec 2022 13:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4bZqXaF/NeoP2BNfQLqLtdMpvSqWcjzPHGimZLHjan0=; b=HiHzOZRjsdce3xPfdO8CLKgLgIbegjJyM+dslAViqv0i28mfk8iGaGMEju2a974ZOM ipTLjDVWGrFk0yZiNevtnA2aiK6JgzFDx2R/qdr3UfmntkruHzvgiSerqDrUZUJA91KD k5nR22urhIgHlNjufsZKbuaR04ApAOmETyuDIxO4jl7+3acpLTivc9HVrk0PmPg8XhBb 6m/DSLtydW25hIwc4oQYS+eUy1yR+F3HlIz0uwXXabdyZqcn3nKaNqTiYKQeIdyti6dX v1J42wU77Uwx4J0vCKrrus4IjUxrpZc43Sry+slzWNyIVPp/YOcRMxt88HZukgd18ovY xudQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4bZqXaF/NeoP2BNfQLqLtdMpvSqWcjzPHGimZLHjan0=; b=PXKe8b4cEk7Qd2hVxB4JwigBX/Cz/mmEl7Yb1OIXOgdyjwOJtLLisroZEt4aQDlHcy 0CKyYH76auB/T8xUH5QqaUVbSoaoTlYfIlI1r7QmARWVeaQ2rAQkGX3y8G5r2XmFYugT mDmx0lBRspT0sWQxuEgzu79fpo7xHctukeAbAlX86PZhfft13u14zB6nt3GUr2OG6Meg 2UhqtbJDzkOV4ogR04/2fom1xBNSf2m9++hAEC11zbskBGWLRXn6h5BsP1/ANA0nDZp6 T2jNCdA1+JkZjllZswbT1lgp/4Pa6/fmG/5vnGx/ukvgpr7MVIjhKjG+BQHAn4lXwYRx Hkng== X-Gm-Message-State: ANoB5pl6ZAPsLhjeM8OK2wDicS1m1e9ju8+sRnIDJApaSrCyKkepUv9X b0F5ckwPPrXyfI5aWChFMOUikQavmqJY6wQUTA== X-Received: by 2002:ac8:4696:0:b0:3a7:e50e:3fec with SMTP id g22-20020ac84696000000b003a7e50e3fecmr14139584qto.590.1670966450340; Tue, 13 Dec 2022 13:20:50 -0800 (PST) MIME-Version: 1.0 References: <20221213101509.535-1-henning.schild@siemens.com> <20221213101509.535-2-henning.schild@siemens.com> <20221213181805.0f369386@md1za8fc.ad001.siemens.net> <20221213220557.2d1544b0@md1za8fc.ad001.siemens.net> In-Reply-To: <20221213220557.2d1544b0@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Tue, 13 Dec 2022 22:20:13 +0100 Message-ID: Subject: Re: [PATCH v4 1/5] expand-on-first-boot: support resizing a btrfs To: Henning Schild Cc: isar-users@googlegroups.com, felix.moessbauer@siemens.com, Joe MacDonald Content-Type: text/plain; charset="UTF-8" X-TUID: Mb9/fSAeBtim On Tue, 13 Dec 2022 at 22:06, Henning Schild wrote: > > Am Tue, 13 Dec 2022 21:44:01 +0100 > schrieb "Roberto A. Foglietta" : > > > On Tue, 13 Dec 2022 at 18:18, Henning Schild > > wrote: > > > > > > Am Tue, 13 Dec 2022 17:45:23 +0100 > > > schrieb "Roberto A. Foglietta" : > > > > > > > On Tue, 13 Dec 2022 at 11:15, 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. > > 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- >