Yes I do LOL. How did that get in there? When? How many years ago :) I had
this PBX for like 15 years or so. Told you I am an idiot :)
HOME-PBX durep # cat /mnt/kd/rc.local
##
disk_dev="/dev/sdb1"
disk_mnt="/mnt/kd/USB"
mkdir -p "$disk_mnt"
echo "$disk_dev $disk_mnt ext3 noauto,noatime 0
Ionel, are you certain you don't have a 'mount' command in either
/mnt/kd/rc.local or /mnt/kd/rc.elocal ?
Lonnie
> On Apr 28, 2023, at 7:13 PM, Ionel Chila via Astlinux-users
> wrote:
>
> Lonnie, I got nothing in /etc/udev/rules.d LOL.
>
> The fstab is the only thing I changed and it
Lonnie, I got nothing in /etc/udev/rules.d LOL.
The fstab is the only thing I changed and it works fine every reboot
I guess old school Linux :) Sorry for providing the wrong guidance :)
[1.684661] usb-storage 1-3:1.0: USB Mass Storage device detected
[1.685122] scsi host4:
Ionel, Did you have to edit/add anything to /etc/udev/rules.d to make that
work? Puzzled.
Gonzalo, If you only wanted it to mount on startup, create /mnt/kd/rc.local and
make script executable (vfat example).
-- /mnt/kd/rc.local --
#!/bin/sh
DISK="/dev/sdb1"
DISK_MP="/tmp/USB"
mkdir -p
A line in /etc/fstab will do the trick. Figure out what what dev is your USB
drive and the partition type and change the line accordingly
My example below is for my 256G USB drive I use for backing up my configs
/dev/sdb1 /mnt/kd/USB ext3 noauto,noatime 0 0
> On Apr 28, 2023, at 5:34 PM,
Hi,
What would be the best way to configure automount for an external usb disk in
Astlinux?
The goal is to get the disk mounted automatically on a fixed path every time
the disk is plugged into Astlinux box.
Thanks.___
Astlinux-users mailing list