Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Max Nikulin
On 30/12/2023 09:14, Mike McClain wrote: Since some of these use a spinoff of xterm [ -n $DISPLAY ] is a little more generic than [ $TERM == xterm ], RaspberryPI has chosen lxterminal as their default which would would fail that test but still runs bash. I would expect that the reason of failur

Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Greg Wooledge
On Fri, Dec 29, 2023 at 08:14:37PM -0600, Mike McClain wrote: > As it turns out every line in /mc/bin/xterm_bindings that > was not a comment was problematic.From man readline or info readline > I saw this: bind '"\C-x\C-r": re-read-init-file' and that is the syntax > I used in xterm_bindings,

Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Mike McClain
In response to Greg Wooledge's message of Wed, 27 Dec. As it turns out every line in /mc/bin/xterm_bindings that was not a comment was problematic.From man readline or info readline I saw this: bind '"\C-x\C-r": re-read-init-file' and that is the syntax I used in xterm_bindings, as '"\e[1;5

Re: Possibly broken Grub or initrd after updates on Testing

2023-12-29 Thread Richard Rosner
As far as I can tell, /boot and /boot/grub are the same filesystem. After all, I didn't really do anything custom. Just your default LUKS installation with the boot efi stuff on sda1/sdb1/whatever, LUKS on 2 and LUKS encrypted swap on 3. I did make a video. Nothing that's not showing up always.

Re: Change suspend type from kde menu

2023-12-29 Thread Valerio Vanni
Il 29/12/2023 02:53, Max Nikulin ha scritto: systemd-sleep(8) does not mention /etc/systemd/system-sleep/ I am a bit puzzled by the following: https://www.freedesktop.org/software/systemd/man/latest/systemd-sleep.html Note that scripts or binaries dropped in /usr/lib/systemd/system-sleep/ are

Re: md0 + UUIDs for member disks

2023-12-29 Thread Andy Smith
Hello, On Fri, Dec 29, 2023 at 06:17:07PM +0100, Felix Natter wrote: > Andy Smith writes: > > But to be absolutely sure you may wish to totally ignore md0 and > > its member devices during install as all their data and the > > metadata on their member devices will still be there after > > install

Re: Possibly broken Grub or initrd after updates on Testing

2023-12-29 Thread Michael Kjörling
On 29 Dec 2023 18:56 +0100, from rich...@rosner-online.de (Richard Rosner): > Hey, I have quite the strange issue. After updating a bunch of > packages today [1], mostly related to systemd, gstreamer and udev, > and restarting my device, it no longer boots. I have an encrypted > system. So I do get

Possibly broken Grub or initrd after updates on Testing

2023-12-29 Thread Richard Rosner
Hey, I have quite the strange issue. After updating a bunch of packages today [1], mostly related to systemd, gstreamer and udev, and restarting my device, it no longer boots. I have an encrypted system. So I do get asked for my decryption password as usual, but a few seconds later, instead of c

Re: md0 + UUIDs for member disks

2023-12-29 Thread Felix Natter
hi Steve, thanks for the quick reply! Steve McIntyre writes: > fnat...@gmx.net wrote: >> >>I have /dev/md0 mounted at /storage which consists of two HDDs. >> >>Now I would like to add an SSD drive for better performance of >>VMs. Usually, before doing this, I make sure that all of my disks are >

Re: md0 + UUIDs for member disks

2023-12-29 Thread Felix Natter
Andy Smith writes: > Hi Felix, hello Andy, thank you for the quick reply! > On Fri, Dec 29, 2023 at 04:46:10PM +0100, Felix Natter wrote: >> I have /dev/md0 mounted at /storage which consists of two HDDs. >> >> Now I would like to add an SSD drive for better performance of >> VMs. Usually, be

Re: md0 + UUIDs for member disks

2023-12-29 Thread Steve McIntyre
fnat...@gmx.net wrote: > >I have /dev/md0 mounted at /storage which consists of two HDDs. > >Now I would like to add an SSD drive for better performance of >VMs. Usually, before doing this, I make sure that all of my disks are >mounted using UUID and not device names. I do not think this is >the ca

Re: md0 + UUIDs for member disks

2023-12-29 Thread Andy Smith
Hi Felix, On Fri, Dec 29, 2023 at 04:46:10PM +0100, Felix Natter wrote: > I have /dev/md0 mounted at /storage which consists of two HDDs. > > Now I would like to add an SSD drive for better performance of > VMs. Usually, before doing this, I make sure that all of my disks are > mounted using UUID

md0 + UUIDs for member disks

2023-12-29 Thread Felix Natter
hello Debian experts, I have /dev/md0 mounted at /storage which consists of two HDDs. Now I would like to add an SSD drive for better performance of VMs. Usually, before doing this, I make sure that all of my disks are mounted using UUID and not device names. I do not think this is the case for t

Re: difference in seconds between two formatted dates ...

2023-12-29 Thread Albretch Mueller
at the end of the day I had my cake and ate it, too: site="www.debian.com" site="www.google.fr" ### dt=$(date +%Y%m%d%H%M%S.%N); whois > "${site}_${dt}_whois.log" 2>&1 sudo strace --output "${site}_${dt}_strace_ping.log" ping "${site}" -c 4 > "${site}_${dt}_ping.log" 2>&1 ls -l "${site}_${dt}"*".

Re: find question

2023-12-29 Thread Greg Wooledge
On Fri, Dec 29, 2023 at 10:56:52PM +1300, Richard Hector wrote: > find $dir -mtime +7 -delete "$dir" should be quoted. > Will that fail to delete higher directories, because the deletion of files > updated the mtime? > > Or does it get all the mtimes first, and use those? It doesn't delete dire

find question

2023-12-29 Thread Richard Hector
Hi all, When using: find $dir -mtime +7 -delete Will that fail to delete higher directories, because the deletion of files updated the mtime? Or does it get all the mtimes first, and use those? And how precise are those times? If I'm running a cron job that deletes 7-day-old directories th