echo $G_DISTRO_NAME $G_RASPBIAN
Linux DietPi4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
RPi 4 Model B (aarch64)
dmesg|grep -i usb
[ 1.217537] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1.239000] usb 2-1: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 3.27
[ 1.239033] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.239044] usb 2-1: Product: USB 3.0 Device
[ 1.239053] usb 2-1: Manufacturer: JMicron
[ 1.239061] usb 2-1: SerialNumber: 00000000xxxx
[ 1.241261] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 1.241586] usb-storage 2-1:1.0: Quirks match for vid 152d pid 0567: 1800000
Hi out there
I’m using a RPi 4 with a 4 Bay LC-Power docking Station (LC-Dock-U3-4B) and I am quite happy with it.
This setup is mainly used for backup and I swap the drives regularly with other drives that have been attached before. After power up l always use dietpi_drive-manager to (re)attach the drives and mount them to slightly edited path (E.g. \mnt\USB<drive_uid>). For a given drive these mount paths are always the same.
However /etc/fstab always gets cleaned and settings of removed drives are deleted from it.
I’d love to keep unattached drives in /etc/fstab and reuse the settings when reattaching a previously attached drives again. I would then only need to run dietpi_drive-manager for brand new drives.
How can i achieve this?
Thanks for reading, Emil