OXIESEC PANEL
- Current Dir:
/
/
lib
/
udev
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/20/2025 01:49:09 AM
r-xr-xr-x
📄
ata_id
19.45 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📄
cdrom_id
31.59 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📄
dmi_memory_id
27.54 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📄
fc_wwpn_id
1.11 KB
01/04/2021 06:17:04 AM
rwxr-xr-x
📄
fido_id
23.44 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📁
hwdb.d
-
04/09/2025 07:08:44 PM
rwxr-xr-x
📄
kdump-udev-throttler
1.41 KB
11/12/2024 02:39:44 PM
rwxr-xr-x
📄
kpartx_id
2.33 KB
10/02/2024 07:55:51 PM
rwxr-xr-x
📄
libinput-device-group
19.13 KB
08/02/2023 02:42:31 PM
rwxr-xr-x
📄
libinput-fuzz-extract
15.13 KB
08/02/2023 02:42:31 PM
rwxr-xr-x
📄
libinput-fuzz-to-zero
15.13 KB
08/02/2023 02:42:31 PM
rwxr-xr-x
📄
mtd_probe
15.41 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📄
prefixdevname
1.45 MB
03/25/2022 03:11:18 PM
rwxr-xr-x
📄
rename_device
15.34 KB
11/14/2024 05:04:06 PM
rwxr-xr-x
📁
rules.d
-
04/09/2025 07:11:41 PM
rwxr-xr-x
📄
scsi_id
36.14 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
📄
v4l_id
15.41 KB
03/18/2025 04:14:51 AM
rwxr-xr-x
Editing: kdump-udev-throttler
Close
#!/usr/bin/bash # This util helps to reduce the workload of kdump service restarting # on udev event. When hotplugging memory / CPU, multiple udev # events may be triggered concurrently, and obviously, we don't want # to restart kdump service for each event. # This script will be called by udev, and make sure kdump service is # restart after all events we are watching are settled. # On each call, this script will update try to aquire the $throttle_lock # The first instance acquired the file lock will keep waiting for events # to settle and then reload kdump. Other instances will just exit # In this way, we can make sure kdump service is restarted immediately # and for exactly once after udev events are settled. throttle_lock="/var/lock/kdump-udev-throttle" exec 9>$throttle_lock if [ $? -ne 0 ]; then echo "Failed to create the lock file! Fallback to non-throttled kdump service restart" /bin/kdumpctl reload exit 1 fi flock -n 9 if [ $? -ne 0 ]; then echo "Throttling kdump restart for concurrent udev event" exit 0 fi # Wait for at least 1 second, at most 4 seconds for udev to settle # Idealy we will have a less than 1 second lag between udev events settle # and kdump reload sleep 1 && udevadm settle --timeout 3 # Release the lock, /bin/kdumpctl will block and make the process # holding two locks at the same time and we might miss some events exec 9>&- /bin/kdumpctl reload exit 0