Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Do molecular biologists wear designer genes?


computers / comp.sys.raspberry-pi / Re: move /var/log to a RAMDISK

Re: move /var/log to a RAMDISK

<CdmcnRmtEeaQjkr5nZ2dnZfqn_qdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7910&group=comp.sys.raspberry-pi#7910

  copy link   Newsgroups: comp.sys.raspberry-pi comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 12 Aug 2023 05:05:17 +0000
Subject: Re: move /var/log to a RAMDISK
Newsgroups: comp.sys.raspberry-pi,comp.os.linux.misc
References: <ua3ijl$2m0am$1@dont-email.me>
<o5adnUGa5uLcw1j5nZ2dnZfqn_ednZ2d@giganews.com>
<uabr1t$3oqpt$1@dont-email.me> <uadv4a$58da$3@dont-email.me>
<uafsrk$kvms$3@dont-email.me>
<20230805092650.6d5e4fcdf78d5391137092f4@eircom.net>
<ualj88$1nrka$1@dont-email.me>
<20230805152321.4bca9f59bc7180a65487f89d@eircom.net>
<uame45$1ntb9$3@dont-email.me> <uanb82$61nd$1@solani.org>
<uanjs4$25fvd$2@dont-email.me> <uannmu$6aa1$1@solani.org>
<uanpeu$26dmj$1@dont-email.me>
<20230806144112.1be5bbf3d2cdf8cc11ee6e67@eircom.net>
<uaqb1h$2ppb9$1@dont-email.me> <uaqm31$7upv$1@solani.org>
<uaqt47$2skqd$2@dont-email.me>
From: 23k...@bfxw9.net (23k.304)
Organization: feather germanium
Date: Sat, 12 Aug 2023 01:05:01 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <uaqt47$2skqd$2@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <CdmcnRmtEeaQjkr5nZ2dnZfqn_qdnZ2d@earthlink.com>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.212.127.63
X-Trace: sv3-CknCd5u3ln3pykKjkqwrvQYLLKcg7sjUtRA4nnu8OhLyyFPrA7LaM1aeo/rsvONKfZ9F83rjF3Iixq/!A3n8xS1osUWnBpD/OH5n0+SLb48b4tZ08RQXK4E6pjSEtXxK5fNDwvZtDomHHiGPLroEp+uI8ENB!UhKBRFVNsI4rb7NRkHv4
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 23k.304 - Sat, 12 Aug 2023 05:05 UTC

On 8/7/23 9:55 AM, The Natural Philosopher wrote:
> On 07/08/2023 12:55, Jan Panteltje wrote:
>> No Empire Has Lasted Yet in history, US is way over the hill.
>> Likely Texas will soon leave that Union... the others will follow.
> Yes, these 19th century Empires are a bit passé..the end of Russian
> federation, the European Union, the United states - all are possible and
> more, or less likely as time moves on.
>
> In an unlikely turn of phrase, in rapidly changing world contexts, they
> are simply  too big to survive.
>
> What suits downtown New York does not suit wilderness Utah. And vice versa.
>
> federalisation at least and possible independence, whilst maintaining
> overall ties under some NATO and Interpol style pan national
> organisations would seem to be the way forward

First off, NO state will be leaving the USA - it's
actually illegal, they can and will send in the army.
Bet on it.

As for "differences" ... that was part of the whole
idea of a United STATES. Not every environment, every
local culture, every local need, is the same. Truly
"national" govts like to forget that - and it causes
BIG problems. Can even cause bloody revolutions where
everyone suffers horribly.

As for "empires" - there's a FALLACY to "empire" in
the usual meaning. They only survive by engulfing
more and more - and every bit they obtain soon
becomes a management EXPENSE. It's doomed. From
Sumer and Akkadia all the way to Rome and the
Mongols and Ottomans, this has been the horrible
horrible truth of "empires". They are about EGO,
not fiscal reality.

But then this was SUPPOSED to be about what to do
with /var/log :-)
. Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: Richard Kettlewell <invalid@invalid.invalid>
Newsgroups: comp.os.linux.misc,comp.sys.raspberry-pi
Subject: Re: Weird code crash
Date: Thu, 14 Sep 2023 09:23:01 +0100
Organization: terraraq NNTP server
Message-ID: <wwv8r99b1ui.fsf@LkoBDZeT.terraraq.uk>
References: <udu5c4$2gutd$1@dont-email.me>
<VGs*53kqz@news.chiark.greenend.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="72477"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:mOnC6mbA9zk4vhGKsfxWiDRIXZ4=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
Xref: rslight2 comp.os.linux.misc:12283 comp.sys.raspberry-pi:7910

Theo <theom+news@chiark.greenend.org.uk> writes:
> In comp.sys.raspberry-pi The Natural Philosopher <tnp@invalid.invalid> wrote:
>> Sep 13 11:26:36 heating-controller systemd[1]: relayd.service: Main
>> process exit
>> ed, code=killed, status=6/ABRT
>> Sep 13 11:26:36 heating-controller systemd[1]: relayd.service: Failed
>> with resul
>> t 'signal'.
>> Sep 13 11:26:36 heating-controller systemd[1]: relayd.service: Consumed
>> 15.074s
>> CPU time.
>>
>> I rebooted it, and after awhile - about ten minutes, it happened again -
>> that is the above trace.
>>
>> I restarted it manually, and it hasn't crashed since.
>>
>> The web is flooded with instances of this messaqe all on different
>> platforms and applications, and it would appear this is a very generic
>> message possibly to do with memory issues.
>
> You're getting SIGABRT which is typically something bailing due to memory
> corruption, eg corrupting metadata so that malloc can't work, or a
> double-free.
>
> I would compile it with debugging enabled: '-g' or '-ggdb' flag to your
> compiler. Then run it under gdb:
>
> $ gdb ./myprog
> (gdb) run
>
> and see if it dies. If it does you can get a backtrace to indicate where
> the fault occurred:
>
> (gdb) bt
>
> It may be that starting it under systemd is different in some way that it
> doesn't show up when running it by hand. You could try setting as your
> systemd command:
>
> gdb -ex run -ex bt --args /usr/local/bin/myprog arg1 arg2
>
> which will run it and then dump a backtrace when it's finished. You may get
> 'no stack' if it succeeded and didn't record one.

Also:

* I would also have a look at the kernel log; if it’s a kernel-generated
signal then there’s usually a log message about it.

* Run the application under valgrind; depending what the issue is, that
will provide a backtrace and perhaps more detailed information. If it
is a memory corruption issue then it may identify where the corruption
happens, rather than the later point where malloc failed a consistency
check (or whatever it is).

Using valgrind (and/or compiler sanitizer features) is a good idea even
before running into trouble, really.

--
https://www.greenend.org.uk/rjk/
. Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Wed, 20 Sep 2023 17:44:29 +0100
Organization: A little, after lunch
Lines: 24
Message-ID: <uef7hd$314pj$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net>
<5ae5bad225bob@sick-of-spam.invalid> <6508d35c@news.ausics.net>
<uecvs7$2gotn$1@dont-email.me> <5ae6d95530bob@sick-of-spam.invalid>
<ueenp9$2u313$1@dont-email.me> <5ae6dcb9babob@sick-of-spam.invalid>
<ueespp$2v1m1$1@dont-email.me> <5ae6ec4278bob@sick-of-spam.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 20 Sep 2023 16:44:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="054f6db54423c821ae90fded8316334d";
logging-data="3183411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//x6NwhBCwuUAp9kYUhKAD1lV+dtRPrgU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:IDopDliaQX4haQEUEmbzT4CvUUw=
Content-Language: en-GB
In-Reply-To: <5ae6ec4278bob@sick-of-spam.invalid>
Xref: rslight2 comp.sys.raspberry-pi:7910

On 20/09/2023 16:36, Bob Latham wrote:
> In article <ueespp$2v1m1$1@dont-email.me>,
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>
>> That's right. If you are sitting on the mounted mount point, it
>> cant get off! It will say 'busy'
>
> Right but that's not the reason the whole thing did nothing *after* I
> corrected that ????
>
> Bob.
>
I thought you said you unmounted it after that

--
Socialism is the philosophy of failure, the creed of ignorance and the
gospel of envy.

Its inherent virtue is the equal sharing of misery.

Winston Churchill

.
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: Theo <theom+news@chiark.greenend.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: PCBs available
Date: 13 Oct 2023 15:09:41 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <zqC*PpLsz@news.chiark.greenend.org.uk>
References: <ug8lq4$2fkip$1@dont-email.me> <yqC*NXHsz@news.chiark.greenend.org.uk> <ugb97s$34vit$6@dont-email.me> <BqC*R2Ksz@news.chiark.greenend.org.uk> <kot0alF8laeU2@mid.individual.net>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="28360"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
Xref: rslight2 comp.sys.raspberry-pi:7910

Andy Burns <usenet@andyburns.uk> wrote:
> Theo wrote:
>
> > It's a bit annoying... with no DC in the box and not wanting to risk
> > exporting mains to the Pi, or making another box with a relay, the
> > obvious option is an optocoupler, but you can't really ensure good
> > isolation unless you put it in a good enclosure, which is tricky here
> > because I'm shoving it in an existing mains box dangling on flying
> > leads. Aha, I thought, you can get optotriacs to switch AC, so what
> > about if I just get a phototriac and shine a light at it to trigger the
> > triac instead of having the LED in the optotriac. Trouble is,
> > phototriacs don't exist as a discrete component.
>
> Can't you "snap" one of these in half?
>
> <https://cpc.farnell.com/omron-electronic-components/ee-sx4070/opto-switch-slotted/dp/SC12350?>

That's a photodetector (photodiode, amplifier) which has a DC output and
needs a DC power supply. It can neither switch nor be powered by mains,
without extra components. You'd need an AC to DC power supply (either a
SMPSU module, or DIY a non-isolated PSU with associated risks) and then a
circuit to switch an AC mains output (a zero-crossing triac, possibly).

Makes it much more complicated than it needs to be.

Theo
. Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 05 Nov 2023 05:44:52 +0000
Subject: Re: Mystery - rpOS - Browsers Will NOT Display Web iframe Content
Newsgroups: comp.sys.raspberry-pi
References: <OFmdnRCCao67uKr4nZ2dnZfqnPadnZ2d@earthlink.com>
<slrnujfp7p.28o.jj@iridium.wf32df>
<5vWcncVhx55_8KX4nZ2dnZfqnPGdnZ2d@earthlink.com>
<uha9de$hv0v$1@dont-email.me>
<1l6dnS_Sdd5dLaX4nZ2dnZfqnPqdnZ2d@earthlink.com>
<9h8qjilosjjva6nrobgca06erm5ni1ichr@joergwalther.my-fqdn.de>
<pm2dnc3m-uFw2qL4nZ2dnZfqn_adnZ2d@earthlink.com>
<uhnpqa$cf9c$1@dont-email.me>
From: "56d.1152" <56d.1152@ztq9.net>
Organization: backlight cellulose
Date: Sun, 5 Nov 2023 01:44:51 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <uhnpqa$cf9c$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <9PucnWHavKxJttr4nZ2dnZfqnPidnZ2d@earthlink.com>
Lines: 59
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-4f0/PsWl9XipawZZLal2KQ0ZW/qBb2z3wbDDud+qRrdDHroZoKqrSv6gMExeARYyRJ5S78IvIv88tq0!9CJn9vCEC6L/S3wyMAtuQ0yqFM/I34HgSZC9Y4Njc8LL5j/pmhLbD73UV+nt4PtIyE6+K5ZVnDfO!Hw9Lcuim60aWxbRB0gGI
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Xref: rslight2 comp.sys.raspberry-pi:7910

On 10/30/23 4:34 AM, The Natural Philosopher wrote:
> On 30/10/2023 06:06, 56d.1152 wrote:
>> On 10/28/23 11:03 AM, Joerg Walther wrote:
>>> 56d.1152 wrote:
>>>
>>>> But, should I spend $$$ on a 4 when the 5s are
>>>>    soon to hit the market ??? They're claiming
>>>>    at least TWICE the performance (I guess at the
>>>>    same power-consumption).
>>>
>>> Unfortunately, power consumption is much higher and you need a much
>>> stronger PSU. I'm not getting one since I do not need this kind of
>>> performance on a Pi.
>>
>>    They MAY be destroying their own 'niche'.
>>
>>    If 'PC' performance/power-consumption is
>>    required I'll just buy a PC board.
>
> That shortly may feature an ARM processor, anyway.

There IS a funky ARM version of Win ....
but you'd better buy a LARGE SD card :-)

And then PAY Bill Gates .. over and over ...

>>    I'll consider the 4 the pinnacle of Pi.
>>    When they stop making them, I won't buy
>>    any of their other stuff.
>>
>
> *shrug*, Too much ideology.

Just enough PRACTICAL ..... :-)

> If I can buy a PC equivalent mobo for under
> $150 I dont care what processor it uses.
> As long as it runs Linux

I've seen sources for older laptop MoBos ...
many will run Linux fer-sure. When the screens
crack or KBs get balky, people DUMP the laptops.
However the core MBs are often still perfectly
good.

But they're a lot bigger than a PI, use a
lot more power too.

When on Amazon, I'll buy a Pi-5 for eval
purposes. We'll see ........

There are a lot of "Pi-Like" boards out there
as well. Alas the Orange/Bananna ones you can
easily find still have no WiFi on the board -
and I got HORRIBLE performance trying USB
WiFi dongles. For some apps, a BBB might still
be the better choice.

SubjectRepliesAuthor
o move /var/log to a RAMDISK

By: The Natural Philosop on Sat, 29 Jul 2023

211The Natural Philosopher
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor