Project

General

Profile

Actions

Fix #10

closed

Error at automounting drives

Added by Khaled Malhal Abbas 6 days ago. Updated 6 days ago.

Status:
Resolved
Priority:
Normal
Start date:
11/28/2025
Due date:
% Done:

100%

Estimated time:
4:00 h

Description

Context:

The SPS monitor device has udev rules located in /etc/udev/rules.d/10-usb-detect.rules that are executed when a new device is detected, more specifically the ones with name sd* and mmcblk*. These rules basically mount these devices into /mnt/usb-drive when a sd* is detected and into /mnt/sd-card when a mmcblk* device is detected. Here are the rules specified:

ACTION=="add", KERNEL=="sd?[0-9]", SUBSYSTEM=="block", RUN+="/usr/local/bin/add.sh" 
ACTION=="add", KERNEL=="mmcblk*", SUBSYSTEM=="block", RUN+="/usr/local/bin/add.sh" 
ACTION=="remove", SUBSYSTEM=="block", RUN+="/usr/local/bin/remove.sh" 

Problem:

The automounting does not work. This automount is needed for the software running in the monitors to update the set of messages for the SPS.

Actions

Also available in: Atom PDF