El Sat, 26 Sep 2026 13:30:43 +0000, Mark Olson escribi<:
Paul Carmichael <wibbleypants@gmail.com> wrote:
"Timeshift saved my life today".
I stupidly deleted a boot partition.
"Linux is user friendly... it's just picky about who its friends are"
I found a usb stick and thought I'd clean it up as a carry-around.
Loaded up gparted and forgot to change the disc from the default (sda), oops.
Anybody here using linux without timeshift, you know what to do.
#!/bin/bash--
# run_backup.sh
# ccr . 2024 May 19
# ccr . 2025 Feb 24 . The 'comments' tag is incompatible with auto delete.
# ccr . 2024 Dec 24 . Apply "daily" tag.
cd /home/ccrhode/lab/sync
MP=`./find_sanity_check.py`
if [[ "${MP}" != "" ]]; then
echo "*** ${MP} is mounted."
echo "`date +%H:%M:%S` Running *timeshift*..."
echo ${MP} | ./configure_timeshift.py && timeshift --create --tags D # 2024 Dec 24
echo "`date +%H:%M:%S` Running *backintime*..."
echo ${MP} | ./configure_backintime.py && backintime backup
sync
echo "`date +%H:%M:%S` Unmounting ${MP}"
umount "${MP}"
echo "*** Done!"
else
echo "*** No mount point. Aborting!"
fi
# fin!
I've never nuked the main drive boot partition, but I have managed
to wipe the wrong SD card/external drive by not remembering sda/b/c.
#!/usr/bin/python3
# find_sanity_check.py
# ccr . 2024 May 18
"""Locate the mount point with the "Sanity Check" file.
This script returns the mount-point name.
"""
ZERO = 0
SPACE = ' '
NULL = ''
NUL = '\x00'
NA = -1
import sys
import pathlib
def main_line():
mountpoint = pathlib.Path('/media/ccrhode')
for path in mountpoint.iterdir():
if (path / 'Sanity Check').exists:
print(path, file=sys.stdout)
result = ZERO
break
else:
print('*** "Sanity Check" not found. ***', file=sys.stderr)
raise NotImplementedError
return result
def entry_point():
global COMMON
COMMON = {}
retcd = main_line()
sys.exit(retcd)
if __name__ == "__main__":--
entry_point()
# Fin
"Timeshift saved my life today".
I stupidly deleted a boot partition.
Anybody here using linux without timeshift, you know what to do.
THBAPSA
On 26 Sep 2026 09:19:44 GMT, Paul Carmichael <wibbleypants@gmail.com> wrote:
Anybody here using linux without timeshift, you know what to do.
I'm using *timeshift* AND *backintime*. I swap USB drives once a day
in a three-day cycle.
#!/bin/bash
# run_backup.sh
# ccr . 2024 May 19
# ccr . 2025 Feb 24 . The 'comments' tag is incompatible with auto delete. >> # ccr . 2024 Dec 24 . Apply "daily" tag.
cd /home/ccrhode/lab/sync
MP=`./find_sanity_check.py`
if [[ "${MP}" != "" ]]; then
echo "*** ${MP} is mounted."
echo "`date +%H:%M:%S` Running *timeshift*..."
echo ${MP} | ./configure_timeshift.py && timeshift --create --tags D # 2024 Dec 24
echo "`date +%H:%M:%S` Running *backintime*..."
echo ${MP} | ./configure_backintime.py && backintime backup
sync
echo "`date +%H:%M:%S` Unmounting ${MP}"
umount "${MP}"
echo "*** Done!"
else
echo "*** No mount point. Aborting!"
fi
# fin!
On 26/09/2026 10:19 Paul Carmichael penned these words:
"Timeshift saved my life today".
I stupidly deleted a boot partition.
Anybody here using linux without timeshift, you know what to do.
THBAPSA
PICNIC
You need more $? status checks
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Worst Case <fritz@spamexpire-202609.rodent.frell.theremailer.net> wrote:Not just me then
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Er, whoosh?
On 29/09/2026 20:55, Worst Case wrote:
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:I'll bite.
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Why?
generally it does not mater what coding you use, checking error the
status when it would be incorrect to continue after an error is normal.
On 30/09/2026 10:11, YTC1 wrote:Doesn't everyone have a routine set up and just collect the status then
On 29/09/2026 20:55, Worst Case wrote:Error exception reporting?
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:I'll bite.
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Why?
generally it does not mater what coding you use, checking error the
status when it would be incorrect to continue after an error is normal.
Overkill for the task described, perhaps.
Mind you, AI is very good at writing Python, allegedly ;)
On 30/09/2026 10:11, YTC1 wrote:
On 29/09/2026 20:55, Worst Case wrote:Error exception reporting?
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:I'll bite.
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Why?
generally it does not mater what coding you use, checking error the
status when it would be incorrect to continue after an error is normal.
Overkill for the task described, perhaps.
Mind you, AI is very good at writing Python, allegedly ;)
Peter Fisher <spam@nospam.net> wrote:
On 30/09/2026 10:11, YTC1 wrote:
On 29/09/2026 20:55, Worst Case wrote:Error exception reporting?
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:I'll bite.
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Why?
generally it does not mater what coding you use, checking error the
status when it would be incorrect to continue after an error is normal.
Overkill for the task described, perhaps.
Mind you, AI is very good at writing Python, allegedly ;)
Just to be clear, my friend[1] "Worst Case" is probably the _absolute
last_ person in the world who would be using AI for any reason.
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
On 30/09/2026 14:21, Mark Olson wrote:
Just to be clear, my friend[1] "Worst Case" is probably the _absolute
last_ person in the world who would be using AI for any reason.
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
Did you have a DVD player?
On 30/09/2026 14:21, Mark Olson wrote:
Peter Fisher <spam@nospam.net> wrote:
On 30/09/2026 10:11, YTC1 wrote:
On 29/09/2026 20:55, Worst Case wrote:Error exception reporting?
On Mon, 28 Sep 2026 08:41:23 +0100, YTC1 <ytc1@ytc1.co.uk> wrote:I'll bite.
You need more $? status checks
.. and, if I did, I be scripting in *python* not *bash*.
Why?
generally it does not mater what coding you use, checking error the
status when it would be incorrect to continue after an error is normal. >>>>
Overkill for the task described, perhaps.
Mind you, AI is very good at writing Python, allegedly ;)
Just to be clear, my friend[1] "Worst Case" is probably the _absolute
last_ person in the world who would be using AI for any reason.
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
Did you have a DVD player?
"Worst Case" is probably the _absolute last_ person in the world who
would be using AI for any reason.
On 30/09/2026 14:21, Mark Olson wrote:
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
Did you have a DVD player?
YTC1 <ytc1@ytc1.co.uk> wrote:
On 30/09/2026 14:21, Mark Olson wrote:
Just to be clear, my friend[1] "Worst Case" is probably the _absolute
last_ person in the world who would be using AI for any reason.
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
I used to have a Gold Wing. I still do, but I used to, too.
Did you have a DVD player?
See my previous Gold Wing answer. The one I have now is a 1978 GL1000.
I used to have a 1986 GL1200 Aspencade with the onboard air compressor
and the fancy radio. Thankfully not the problem-plagued fuel injected variant.
On 30/09/2026 16:50, Mark Olson wrote:
I used to have a 1986 GL1200 Aspencade with the onboard air compressor
and the fancy radio. Thankfully not the problem-plagued fuel injected
variant.
Did that have a DVD layer?
YTC1 wrote:
On 30/09/2026 14:21, Mark Olson wrote:
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
Did you have a DVD player?
Did your Gold Wing have a DVD player ?
Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
YTC1 wrote:
On 30/09/2026 14:21, Mark Olson wrote:
[1] He sent me a DVD on how to rebuild Gold Wing carburetors.
Did you have a Gold Wing?
Did you have a DVD player?
Did your Gold Wing have a DVD player ?
<SBM>
It did not.
</SBM>
Did your Gold Wing have a DVD player ?
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978. My Vetter fairing came with an 8-track in
1979.
On 01/10/2026 19:18, "Worst Case"@dizum.com wrote:
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978. My Vetter fairing came with an 8-track in
1979.
Ah, they were the bees knees. Had one in my mum's (red) Audi 80
YTC1 <ytc1@ytc1.co.uk> wrote:
On 01/10/2026 19:18, "Worst Case"@dizum.com wrote:
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978. My Vetter fairing came with an 8-track in
1979.
Ah, they were the bees knees. Had one in my mum's (red) Audi 80
You triggered a memory of my '87 Audi 5000 Turbo. No 8-track, but it
did have a casette deck. Top of the line, heated leather seats (only
the driver's side still worked, but still) sunroof, etc. IIRC the window sticker price was something around $37k in 1987.
YTC1 <ytc1@ytc1.co.uk> wrote:
On 01/10/2026 19:18, "Worst Case"@dizum.com wrote:
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978. My Vetter fairing came with an 8-track in
1979.
Ah, they were the bees knees. Had one in my mum's (red) Audi 80
You triggered a memory of my '87 Audi 5000 Turbo. No 8-track, but it
did have a casette deck. Top of the line, heated leather seats (only
the driver's side still worked, but still) sunroof, etc. IIRC the window sticker price was something around $37k in 1987.
On 01/10/2026 21:52, Mark Olson wrote:
YTC1 <ytc1@ytc1.co.uk> wrote:
On 01/10/2026 19:18, "Worst Case"@dizum.com wrote:
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99
<secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978.-a My Vetter fairing came with an 8-track in
1979.
Ah, they were the bees knees. Had one in my mum's (red) Audi 80
You triggered a memory of my '87 Audi 5000 Turbo. No 8-track, but it
did have a casette deck. Top of the line, heated leather seats (only
the driver's side still worked, but still) sunroof, etc. IIRC the window
sticker price was something around $37k in 1987.
Ah yes I remember 8 track players well. Only as bolt on accessories in
shite old cars though. The endless loop meant that the 'knowing which
track comes next' phenomenon was accentuated by having the same album repeated ad nauseam. Screwed on under the glove box with lashed up
Did you you have the Vetter topbox and was the bike brown ?
On Fri, 02 Oct 2026 08:29:11 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did you you have the Vetter topbox and was the bike brown ?
Yes ... and sidebags. Texas trim was long gone though. :-( Bike was
blue.
On Thu, 01 Oct 2026 07:50:19 +0100, Sqirrel99 <secret.sqirrel99@gmail.com> wrote:
Did your Gold Wing have a DVD player ?
... probably not in 1978. My Vetter fairing came with an 8-track in
1979.
Ah yes I remember 8 track players well. Only as bolt on accessories in
shite old cars though. The endless loop meant that the 'knowing which
track comes next' phenomenon was accentuated by having the same album repeated ad nauseam. Screwed on under the glove box with lashed up perforated metal strip brackets. My memory is failing to accurately
recall even one of the tapes I had and the cars in question. By a
process of elimination and checking dates, one of the cars was probably
the Saab 96 two stroke, so the radio was also an add on.
Living the dream !
Tell them about the goat on the panniers.
On Sat, 3 Oct 2026 01:04:57 -0000 (UTC), Mark Olson <olsonm@tiny.invalid> wrote:
Tell them about the goat on the panniers.
Ah, yes. The goat....
Worst Case <fritz@spamexpire-202610.rodent.frell.theremailer.net> wrote:
On Sat, 3 Oct 2026 01:04:57 -0000 (UTC), Mark Olson <olsonm@tiny.invalid> wrote:
Tell them about the goat on the panniers.
Ah, yes. The goat....
https://photos.app.goo.gl/ivaXC6GHnZnd866bA
Worst Case <fritz@spamexpire-202610.rodent.frell.theremailer.net> wrote:
On Sat, 3 Oct 2026 01:04:57 -0000 (UTC), Mark Olson <olsonm@tiny.invalid> wrote:
Tell them about the goat on the panniers.
Ah, yes. The goat....
https://photos.app.goo.gl/ivaXC6GHnZnd866bA
"Timeshift saved my life today".
Paul Carmichael wrote:
"Timeshift saved my life today".
I've always been a fan of BBC Four but I wouldn't go that far.
Paul Carmichael wrote:
"Timeshift saved my life today".
I've always been a fan of BBC Four but I wouldn't go that far.
El Thu, 15 Oct 2026 12:00:13 +0000, sweller escribi||:
Paul Carmichael wrote:
"Timeshift saved my life today".
I've always been a fan of BBC Four but I wouldn't go that far.
Whoosh.
And Timeshift just let me down. I restored after a failed upgrade and TB
lost all my logins.
I suppose it could have been worse.
El Thu, 15 Oct 2026 12:00:13 +0000, sweller escribi||:
Paul Carmichael wrote:
"Timeshift saved my life today".
I've always been a fan of BBC Four but I wouldn't go that far.
Whoosh.
And Timeshift just let me down. I restored after a failed upgrade and TB
lost all my logins.
I suppose it could have been worse.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 59:29:44 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 286,017 |