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 "$DISK_MP" if [ -e "$DISK" ]; then mount -t vfat $DISK $DISK_MP fi -- Make the script executable # chmod +x /mnt/kd/rc.local Now, on each reboot, the USB drive will be mounted if it exists. AstLinux does not support any automount functionally. Lonnie > On Apr 28, 2023, at 5:55 PM, Ionel Chila via Astlinux-users > <astlinux-users@lists.sourceforge.net> wrote: > > 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, Gonzalo <goniba...@hotmail.com> wrote: >> >> 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 >> Astlinux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org. > > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.