Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

<Skyhook> Where is 'bavaria' proper? I thought it was austria. -- Seen on #Linux


computers / comp.os.linux.advocacy / Re: Building Linux in /dev/shm

SubjectAuthor
* Building Linux in /dev/shmvallor
+- Re: Building Linux in /dev/shmLawrence D'Oliveiro
`* Re: Building Linux in /dev/shmcandycanearter07
 `* Re: Building Linux in /dev/shmvallor
  +* Re: Building Linux in /dev/shmLawrence D'Oliveiro
  |`* Re: Building Linux in /dev/shmvallor
  | +* Re: Building Linux in /dev/shmLawrence D'Oliveiro
  | |`- Re: Building Linux in /dev/shmcandycanearter07
  | `- Re: Building Linux in /dev/shmDFS
  `* Re: Building Linux in /dev/shmcandycanearter07
   +* Re: Building Linux in /dev/shmvallor
   |`- Re: Building Linux in /dev/shmcandycanearter07
   `- Re: Building Linux in /dev/shmrbowman

1
Building Linux in /dev/shm

<uvpmng$1mntq$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13796&group=comp.os.linux.advocacy#13796

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Building Linux in /dev/shm
Date: Wed, 17 Apr 2024 23:41:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <uvpmng$1mntq$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 01:41:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d2a93cb4de328dc802bf5fc44bf55bbe";
logging-data="1793978"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CbmdksxMRVPVKlpDeF7pg"
User-Agent: Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:YCQMq5Y+6j+wGWtFRPESIR9E+MQ=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Wed, 17 Apr 2024 23:41 UTC

$ df -h .
Filesystem Size Used Avail Use% Mounted on
tmpfs 126G 542M 126G 1% /dev/shm

What do you think? Is it worth it to try building Linux
on a ramdisk?

6.8.7 is out now, so I thought I'd try it:

$ time -p make -j 32
[...]
real 432.09
user 11085.32
sys 2520.37

That's with a "kitchen sink" build using a .config that
originally came from Linux Mint's "lowlatency" sources.

(To set it up, I unpacked the tar file onto /dev/shm -- much
faster than if I'd tried to rsync the unpacked sources.)

After the build:
$ df -h .
Filesystem Size Used Avail Use% Mounted on
tmpfs 126G 23G 103G 19% /dev/shm

(Of course, now that I've done this stunt, I'm rsync'ing
the tree onto my NAS, so I'll have it after the reboot.)

And there you go: doing Linux stunts, so you don't have to.

--
-v

Re: Building Linux in /dev/shm

<uvptnq$2126r$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13805&group=comp.os.linux.advocacy#13805

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Thu, 18 Apr 2024 01:41:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uvptnq$2126r$5@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 03:41:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ec6fcf3bb75b95711759fde7cd91a1dc";
logging-data="2132187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/bB/8SJYoZey0Ry//tjWD"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:KjepGtazgJ1ZlJSt/AhEoW9APt4=
 by: Lawrence D'Oliv - Thu, 18 Apr 2024 01:41 UTC

On Wed, 17 Apr 2024 23:41:37 -0000 (UTC), vallor wrote:

> (Of course, now that I've done this stunt, I'm rsync'ing the tree onto
> my NAS, so I'll have it after the reboot.)
>
> And there you go: doing Linux stunts, so you don't have to.

I wouldn’t call that a stunt--that’s just regular Linux usage. ;)

Using eatmydata to run an upgrade on your system ... now that would be a
stunt. ;);)

Re: Building Linux in /dev/shm

<uvrbur$2ae33$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13813&group=comp.os.linux.advocacy#13813

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Thu, 18 Apr 2024 14:50:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 36
Message-ID: <uvrbur$2ae33$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me>
Injection-Date: Thu, 18 Apr 2024 16:50:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5b0b1583fb7e97c7fcf46e8761e3ce6d";
logging-data="2439267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191o9dEbcUs/VExKJMTkjuybM0TZPAyfIrLm3MM/DzNGQ=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:iNRrXR/XqBceWh7tCd+A/WEWG4Y=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
 by: candycanearter07 - Thu, 18 Apr 2024 14:50 UTC

vallor <vallor@cultnix.org> wrote at 23:41 this Wednesday (GMT):
> $ df -h .
> Filesystem Size Used Avail Use% Mounted on
> tmpfs 126G 542M 126G 1% /dev/shm
>
> What do you think? Is it worth it to try building Linux
> on a ramdisk?
>
> 6.8.7 is out now, so I thought I'd try it:
>
> $ time -p make -j 32
> [...]
> real 432.09
> user 11085.32
> sys 2520.37
>
> That's with a "kitchen sink" build using a .config that
> originally came from Linux Mint's "lowlatency" sources.
>
> (To set it up, I unpacked the tar file onto /dev/shm -- much
> faster than if I'd tried to rsync the unpacked sources.)
>
> After the build:
> $ df -h .
> Filesystem Size Used Avail Use% Mounted on
> tmpfs 126G 23G 103G 19% /dev/shm
>
> (Of course, now that I've done this stunt, I'm rsync'ing
> the tree onto my NAS, so I'll have it after the reboot.)
>
> And there you go: doing Linux stunts, so you don't have to.

Isn't /tmp usually mounted as a ramdisk?
--
user <candycane> is generated from /dev/urandom

Re: Building Linux in /dev/shm

<uvsmah$2mc88$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13830&group=comp.os.linux.advocacy#13830

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Fri, 19 Apr 2024 02:53:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <uvsmah$2mc88$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 19 Apr 2024 04:53:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="36b71613ccf4070cbd5a06532989882e";
logging-data="2830600"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v7rjFXQOo9zOYxgK46Loq"
User-Agent: Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:WQFo98/KzBvoBlDKKd4b0Z8IzsQ=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Fri, 19 Apr 2024 02:53 UTC

On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
<candycanearter07@candycanearter07.nomail.afraid> wrote in
<uvrbur$2ae33$1@dont-email.me>:

> vallor <vallor@cultnix.org> wrote at 23:41 this Wednesday (GMT):
>> $ df -h .
>> Filesystem Size Used Avail Use% Mounted on
>> tmpfs 126G 542M 126G 1% /dev/shm
>>
>> What do you think? Is it worth it to try building Linux
>> on a ramdisk?
>>
>> 6.8.7 is out now, so I thought I'd try it:
>>
>> $ time -p make -j 32
>> [...]
>> real 432.09
>> user 11085.32
>> sys 2520.37
>>
>> That's with a "kitchen sink" build using a .config that
>> originally came from Linux Mint's "lowlatency" sources.
>>
>> (To set it up, I unpacked the tar file onto /dev/shm -- much
>> faster than if I'd tried to rsync the unpacked sources.)
>>
>> After the build:
>> $ df -h .
>> Filesystem Size Used Avail Use% Mounted on
>> tmpfs 126G 23G 103G 19% /dev/shm
>>
>> (Of course, now that I've done this stunt, I'm rsync'ing
>> the tree onto my NAS, so I'll have it after the reboot.)
>>
>> And there you go: doing Linux stunts, so you don't have to.
>
>
> Isn't /tmp usually mounted as a ramdisk?

Some distros might do that. Linux Mint doesn't, and I
don't advise it.

--
-v

Re: Building Linux in /dev/shm

<uvspab$2nk0a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13833&group=comp.os.linux.advocacy#13833

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Fri, 19 Apr 2024 03:44:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uvspab$2nk0a$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 19 Apr 2024 05:44:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9edfee33d4561201a41a00d87dc9eb08";
logging-data="2871306"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dlZmhn455hX+cQvt+AIM0"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:VDDR+g8fvZ6lsl0xcMOKyeYFiIQ=
 by: Lawrence D'Oliv - Fri, 19 Apr 2024 03:44 UTC

On Fri, 19 Apr 2024 02:53:05 -0000 (UTC), vallor wrote:

> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
> <candycanearter07@candycanearter07.nomail.afraid> wrote in
> <uvrbur$2ae33$1@dont-email.me>:
>
>> Isn't /tmp usually mounted as a ramdisk?
>
> Some distros might do that. Linux Mint doesn't, and I don't advise it.

It’s your choice. Stuff in /tmp is not expected to have a long lifetime.
/var/tmp is for things you would like to last longer, but still aren’t
that fussed about.

The whole point about temporary files is it’s not the end of the world if
they get deleted.

Re: Building Linux in /dev/shm

<uvtrkq$312kp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13841&group=comp.os.linux.advocacy#13841

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Fri, 19 Apr 2024 13:30:02 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 52
Message-ID: <uvtrkq$312kp$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me>
Injection-Date: Fri, 19 Apr 2024 15:30:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1a9ab7ccf42ff4d1a7738f1f4592371f";
logging-data="3181209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LvbxDWV53oKidDcxfSFwxDRPPCX+eEEsxUywTEWaVqQ=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:UBqZFhYLcUQL5RCJc74wi4O9+dA=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
 by: candycanearter07 - Fri, 19 Apr 2024 13:30 UTC

vallor <vallor@cultnix.org> wrote at 02:53 this Friday (GMT):
> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
><candycanearter07@candycanearter07.nomail.afraid> wrote in
><uvrbur$2ae33$1@dont-email.me>:
>
>> vallor <vallor@cultnix.org> wrote at 23:41 this Wednesday (GMT):
>>> $ df -h .
>>> Filesystem Size Used Avail Use% Mounted on
>>> tmpfs 126G 542M 126G 1% /dev/shm
>>>
>>> What do you think? Is it worth it to try building Linux
>>> on a ramdisk?
>>>
>>> 6.8.7 is out now, so I thought I'd try it:
>>>
>>> $ time -p make -j 32
>>> [...]
>>> real 432.09
>>> user 11085.32
>>> sys 2520.37
>>>
>>> That's with a "kitchen sink" build using a .config that
>>> originally came from Linux Mint's "lowlatency" sources.
>>>
>>> (To set it up, I unpacked the tar file onto /dev/shm -- much
>>> faster than if I'd tried to rsync the unpacked sources.)
>>>
>>> After the build:
>>> $ df -h .
>>> Filesystem Size Used Avail Use% Mounted on
>>> tmpfs 126G 23G 103G 19% /dev/shm
>>>
>>> (Of course, now that I've done this stunt, I'm rsync'ing
>>> the tree onto my NAS, so I'll have it after the reboot.)
>>>
>>> And there you go: doing Linux stunts, so you don't have to.
>>
>>
>> Isn't /tmp usually mounted as a ramdisk?
>
> Some distros might do that. Linux Mint doesn't, and I
> don't advise it.

$ findmnt /tmp

TARGET SOURCE FSTYPE OPTIONS
/tmp tmpfs tmpfs rw,nosuid,nodev,size=8043524k,nr_inodes=1048576,inode64

Mine does at least.
--
user <candycane> is generated from /dev/urandom

Re: Building Linux in /dev/shm

<uvts5r$2mc88$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13842&group=comp.os.linux.advocacy#13842

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Fri, 19 Apr 2024 13:39:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <uvts5r$2mc88$4@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvtrkq$312kp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 19 Apr 2024 15:39:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="36b71613ccf4070cbd5a06532989882e";
logging-data="2830600"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mAOR2ZsOyN1Fj2nOND62h"
User-Agent: Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:cwhTTRH6KJ6koKd+u4t2kC82G0E=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Fri, 19 Apr 2024 13:39 UTC

On Fri, 19 Apr 2024 13:30:02 -0000 (UTC), candycanearter07
<candycanearter07@candycanearter07.nomail.afraid> wrote in
<uvtrkq$312kp$1@dont-email.me>:

> vallor <vallor@cultnix.org> wrote at 02:53 this Friday (GMT):
>> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
>><candycanearter07@candycanearter07.nomail.afraid> wrote in
>><uvrbur$2ae33$1@dont-email.me>:
>>
>>> vallor <vallor@cultnix.org> wrote at 23:41 this Wednesday (GMT):
>>>> $ df -h .
>>>> Filesystem Size Used Avail Use% Mounted on tmpfs 126G
>>>> 542M 126G 1% /dev/shm
>>>>
>>>> What do you think? Is it worth it to try building Linux on a
>>>> ramdisk?
>>>>
>>>> 6.8.7 is out now, so I thought I'd try it:
>>>>
>>>> $ time -p make -j 32 [...]
>>>> real 432.09 user 11085.32 sys 2520.37
>>>>
>>>> That's with a "kitchen sink" build using a .config that originally
>>>> came from Linux Mint's "lowlatency" sources.
>>>>
>>>> (To set it up, I unpacked the tar file onto /dev/shm -- much faster
>>>> than if I'd tried to rsync the unpacked sources.)
>>>>
>>>> After the build:
>>>> $ df -h .
>>>> Filesystem Size Used Avail Use% Mounted on tmpfs 126G
>>>> 23G 103G 19% /dev/shm
>>>>
>>>> (Of course, now that I've done this stunt, I'm rsync'ing the tree
>>>> onto my NAS, so I'll have it after the reboot.)
>>>>
>>>> And there you go: doing Linux stunts, so you don't have to.
>>>
>>>
>>> Isn't /tmp usually mounted as a ramdisk?
>>
>> Some distros might do that. Linux Mint doesn't, and I don't advise it.
>
>
> $ findmnt /tmp
>
> TARGET SOURCE FSTYPE OPTIONS /tmp tmpfs tmpfs
> rw,nosuid,nodev,size=8043524k,nr_inodes=1048576,inode64
>
> Mine does at least.

Interesting. What distribution are you using?

My concern would be filling it up, but that's probably
just my "old school" thinking from back in the day when
computers had much less memory.

--
-v

Re: Building Linux in /dev/shm

<uvtvo9$320ao$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13843&group=comp.os.linux.advocacy#13843

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Fri, 19 Apr 2024 14:40:09 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 63
Message-ID: <uvtvo9$320ao$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvtrkq$312kp$1@dont-email.me>
<uvts5r$2mc88$4@dont-email.me>
Injection-Date: Fri, 19 Apr 2024 16:40:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="df19e001a5b3291e6b90ca8cb673d7f3";
logging-data="3211608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ycQ4B8cvMPShqOI4Od0EzbPzKJv/N5MDDyDbSCV4/rw=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:OMu0K/WN4dohKCvVuNTLAJUc1Dc=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
 by: candycanearter07 - Fri, 19 Apr 2024 14:40 UTC

vallor <vallor@cultnix.org> wrote at 13:39 this Friday (GMT):
> On Fri, 19 Apr 2024 13:30:02 -0000 (UTC), candycanearter07
><candycanearter07@candycanearter07.nomail.afraid> wrote in
><uvtrkq$312kp$1@dont-email.me>:
>
>> vallor <vallor@cultnix.org> wrote at 02:53 this Friday (GMT):
>>> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
>>><candycanearter07@candycanearter07.nomail.afraid> wrote in
>>><uvrbur$2ae33$1@dont-email.me>:
>>>
>>>> vallor <vallor@cultnix.org> wrote at 23:41 this Wednesday (GMT):
>>>>> $ df -h .
>>>>> Filesystem Size Used Avail Use% Mounted on tmpfs 126G
>>>>> 542M 126G 1% /dev/shm
>>>>>
>>>>> What do you think? Is it worth it to try building Linux on a
>>>>> ramdisk?
>>>>>
>>>>> 6.8.7 is out now, so I thought I'd try it:
>>>>>
>>>>> $ time -p make -j 32 [...]
>>>>> real 432.09 user 11085.32 sys 2520.37
>>>>>
>>>>> That's with a "kitchen sink" build using a .config that originally
>>>>> came from Linux Mint's "lowlatency" sources.
>>>>>
>>>>> (To set it up, I unpacked the tar file onto /dev/shm -- much faster
>>>>> than if I'd tried to rsync the unpacked sources.)
>>>>>
>>>>> After the build:
>>>>> $ df -h .
>>>>> Filesystem Size Used Avail Use% Mounted on tmpfs 126G
>>>>> 23G 103G 19% /dev/shm
>>>>>
>>>>> (Of course, now that I've done this stunt, I'm rsync'ing the tree
>>>>> onto my NAS, so I'll have it after the reboot.)
>>>>>
>>>>> And there you go: doing Linux stunts, so you don't have to.
>>>>
>>>>
>>>> Isn't /tmp usually mounted as a ramdisk?
>>>
>>> Some distros might do that. Linux Mint doesn't, and I don't advise it.
>>
>>
>> $ findmnt /tmp
>>
>> TARGET SOURCE FSTYPE OPTIONS /tmp tmpfs tmpfs
>> rw,nosuid,nodev,size=8043524k,nr_inodes=1048576,inode64
>>
>> Mine does at least.
>
> Interesting. What distribution are you using?
>
> My concern would be filling it up, but that's probably
> just my "old school" thinking from back in the day when
> computers had much less memory.

EndeavourOS. And I have about 24G ram total (16gb + 8gb swap file) so it
shouldn't be too much of an issue.
--
user <candycane> is generated from /dev/urandom

Re: Building Linux in /dev/shm

<l8fjquFj3i6U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13844&group=comp.os.linux.advocacy#13844

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: 19 Apr 2024 16:18:39 GMT
Lines: 15
Message-ID: <l8fjquFj3i6U1@mid.individual.net>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvtrkq$312kp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Mi2gdy4tw/Q026eUblqqowQQXLF+yqekK4KbEZB89c/bUd1/S4
Cancel-Lock: sha1:hVg8EkvhR79Qq8F9WYfoPs/bOeg= sha256:f30NEAZUq7cUjeNfN5CfOrP8B8GHrmCwFOTYCtRw7u0=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Fri, 19 Apr 2024 16:18 UTC

On Fri, 19 Apr 2024 13:30:02 -0000 (UTC), candycanearter07 wrote:

> $ findmnt /tmp
>
> TARGET SOURCE FSTYPE OPTIONS /tmp tmpfs tmpfs
> rw,nosuid,nodev,size=8043524k,nr_inodes=1048576,inode64
>
> Mine does at least.

Well, that was interesting... There are a couple of tmpfs mounts but
not /tmp. However there is a load of snap stuff mounted on 'squashfs'.

The downside of easy, hands off installations is I no longer know what is
installed as long as It Just Works.

Re: Building Linux in /dev/shm

<v04gid$iu3c$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13907&group=comp.os.linux.advocacy#13907

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Mon, 22 Apr 2024 02:03:57 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <v04gid$iu3c$5@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvspab$2nk0a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Apr 2024 04:03:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e9a9f5a8c67338e16410ca15abd7ed85";
logging-data="620652"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/emmak2BDpmUAZU4VyX6sS"
User-Agent: Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:4t138pg63W21FpQmopS7/DOE3h8=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Mon, 22 Apr 2024 02:03 UTC

On Fri, 19 Apr 2024 03:44:12 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <uvspab$2nk0a$1@dont-email.me>:

> On Fri, 19 Apr 2024 02:53:05 -0000 (UTC), vallor wrote:
>
>> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07
>> <candycanearter07@candycanearter07.nomail.afraid> wrote in
>> <uvrbur$2ae33$1@dont-email.me>:
>>
>>> Isn't /tmp usually mounted as a ramdisk?
>>
>> Some distros might do that. Linux Mint doesn't, and I don't advise it.
>
> It’s your choice. Stuff in /tmp is not expected to have a long lifetime.
> /var/tmp is for things you would like to last longer, but still aren’t
> that fussed about.
>
> The whole point about temporary files is it’s not the end of the world
> if they get deleted.

ssh-agent's socket lives in a subdirectory in /tmp. Really should live in
/run somewhere. Looks like it can be steered by changing the TMPDIR
environment variable...

On our companies user-access shell server, each user has their own /tmp
in their own chroot.

--
-v

Re: Building Linux in /dev/shm

<v05457$r443$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13909&group=comp.os.linux.advocacy#13909

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Mon, 22 Apr 2024 07:38:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <v05457$r443$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvspab$2nk0a$1@dont-email.me>
<v04gid$iu3c$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Apr 2024 09:38:16 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a50b2468e31bf3266ea857d988e1469f";
logging-data="888963"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mEUOyXLfsaBvaxY5Hg9fv"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:6EBqwQx0P6vWTe2FlbApCRYPZH0=
 by: Lawrence D'Oliv - Mon, 22 Apr 2024 07:38 UTC

On Mon, 22 Apr 2024 02:03:57 -0000 (UTC), vallor wrote:

> ssh-agent's socket lives in a subdirectory in /tmp. Really should live
> in /run somewhere. Looks like it can be steered by changing the TMPDIR
> environment variable...

The logical place for per-user stuff would be /run/user/«userid», as per
systemd conventions.

> On our companies user-access shell server, each user has their own /tmp
> in their own chroot.

I once had to set up a file-access server for a client that had to support
both old-style insecure FTP and also SFTP (with the ultimate aim, of
course, of transitioning all their customers from the former to the
latter). Setting up a per-user chroot that would work with both was ...
quite a challenge ...

Re: Building Linux in /dev/shm

<v06288$11gar$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13914&group=comp.os.linux.advocacy#13914

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@dfs.com (DFS)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Mon, 22 Apr 2024 12:11:52 -0400
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <v06288$11gar$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvspab$2nk0a$1@dont-email.me>
<v04gid$iu3c$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 22 Apr 2024 18:11:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0089a1073deddea1c3a7a369b50212a2";
logging-data="1098075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5kAlILJteZmq2wn1jpM4G"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Lz548QOQlTZXYzLw1WnjbBIgVug=
In-Reply-To: <v04gid$iu3c$5@dont-email.me>
Content-Language: en-US
 by: DFS - Mon, 22 Apr 2024 16:11 UTC

On 4/21/2024 10:03 PM, vallor wrote:

> On our companies user-access shell server, each user has their own /tmp
> in their own chroot.

company's

Re: Building Linux in /dev/shm

<v072uq$1cdet$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13931&group=comp.os.linux.advocacy#13931

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Building Linux in /dev/shm
Date: Tue, 23 Apr 2024 01:30:02 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 25
Message-ID: <v072uq$1cdet$1@dont-email.me>
References: <uvpmng$1mntq$4@dont-email.me> <uvrbur$2ae33$1@dont-email.me>
<uvsmah$2mc88$1@dont-email.me> <uvspab$2nk0a$1@dont-email.me>
<v04gid$iu3c$5@dont-email.me> <v05457$r443$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 23 Apr 2024 03:30:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cd2ab4f8eb43a5a9db31ddb291a39346";
logging-data="1455581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ER+OdxQA04fW2C1xJ6lUUdrMrQJcBCgEmfzlf7nYhAA=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:KroZ9cZRo+Fl/x2XUvt09on38vQ=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
 by: candycanearter07 - Tue, 23 Apr 2024 01:30 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 07:38 this Monday (GMT):
> On Mon, 22 Apr 2024 02:03:57 -0000 (UTC), vallor wrote:
>
>> ssh-agent's socket lives in a subdirectory in /tmp. Really should live
>> in /run somewhere. Looks like it can be steered by changing the TMPDIR
>> environment variable...
>
> The logical place for per-user stuff would be /run/user/«userid», as per
> systemd conventions.

I think that udiskie puts it in /run/media/user/disklabel

>> On our companies user-access shell server, each user has their own /tmp
>> in their own chroot.
>
> I once had to set up a file-access server for a client that had to support
> both old-style insecure FTP and also SFTP (with the ultimate aim, of
> course, of transitioning all their customers from the former to the
> latter). Setting up a per-user chroot that would work with both was ...
> quite a challenge ...

Sounds like it.
--
user <candycane> is generated from /dev/urandom

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor