Sat, Dec 24, 2022 at 11:33:19AM +0200, Marko Mäkelä wrote:
Yesterday, I finally bought external storage for my Raspberry Pi based
VDR setup, a Samsung Portable SSD T7.
I have now documented my setup in the following wiki pages:
https://www.linuxtv.org/vdrwiki/index.php/Systemd
https://www.linux
Tue, Dec 27, 2022 at 11:15:29PM +0100, Martin Dummer wrote:
Am 27.12.22 um 21:49 schrieb Marko Mäkelä:
First, I removed the custom /etc/fstab entry. Everything will be
controlled by systemd as follows:
On systemd-systems, each line in /etc/fstab is automatically converted
by a binary "syst
Am 27.12.22 um 21:49 schrieb Marko Mäkelä:
First, I removed the custom /etc/fstab entry. Everything will be
controlled by systemd as follows:
On systemd-systems, each line in /etc/fstab is automatically converted
by a binary "systemd-fstab-generator" into "xxx.mount" units. So what
you do h
Tue, Dec 27, 2022 at 12:04:00PM +0200, Marko Mäkelä wrote:
I might configure some more, such as:
* Write some udev rule so that when the USB storage is unplugged and
replugged, the file system will be auto-mounted and VDR service will
be started.
* Restore /etc/systemd/logind.conf to HandlePow
Mon, Dec 26, 2022 at 01:34:48AM +0100, Udo Richter wrote:
No, just replace the call to vdr in the service with a call to a runvdr
script (any of the ones floating around, or just a three-liner), and in
that script, after vdr ends, do whatever cleanup you need to do.
I see. That could certainly
On 25.12.22 20:47, Marko Mäkelä wrote:
However, I'd say the most clean way is to include the unmount and
udiskctrl into the vdr shutdown itself, so these commands run within
the vdr service after the vdr process stops. That way you just have to
fire the service stop and are done.
Do you mean im
Sun, Dec 25, 2022 at 01:10:51PM +0100, Udo Richter wrote:
On 24.12.22 10:33, Marko Mäkelä wrote:
then
sudo service vdr stop
sudo umount /video
sudo udisksctl power-off -b /dev/sda
fi
The first step appears to terminate the shell script, because the shell
is a subprocess of VDR. So, the st
On 24.12.22 10:33, Marko Mäkelä wrote:
then
sudo service vdr stop
sudo umount /video
sudo udisksctl power-off -b /dev/sda
fi
The first step appears to terminate the shell script, because the shell
is a subprocess of VDR. So, the storage will remain mounted and powered
on. I guess that w
Yesterday, I finally bought external storage for my Raspberry Pi based
VDR setup, a Samsung Portable SSD T7. It supports USB 3, but it also
works on the Raspberry Pi 2's USB 2.0 and does not consume too much
power. My old tower PC case based system that I had set up in 2004 has
now been replace