403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.145.80.247
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/udev/rules.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/udev/rules.d/68-del-part-nodes.rules
# These rules can delete partitions devnodes for slave devices
# for certain aggregate devices such as multipath.
# This is desirable to avoid confusion and keep the number
# of device nodes and symlinks within limits.
#
# This is done only once on the first "add" or "change" event for
# any given device.
#
# To suppress this, use the kernel parameter "dont_del_part_nodes",
# or create an udev rule file that sets ENV{DONT_DEL_PART_NODES}="1".

SUBSYSTEM!="block", GOTO="end_del_part_nodes"
KERNEL!="sd*|dasd*", GOTO="end_del_part_nodes"
ACTION!="add|change", GOTO="end_del_part_nodes"
ENV{DEVTYPE}=="partition", GOTO="end_del_part_nodes"

IMPORT{cmdline}="dont_del_part_nodes"
ENV{dont_del_part_nodes}=="1", GOTO="end_del_part_nodes"
ENV{DONT_DEL_PART_NODES}=="1", GOTO="end_del_part_nodes"

# dm-multipath
ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="del_part_nodes"

# Other aggregate device types can be added here.

GOTO="end_del_part_nodes"

LABEL="del_part_nodes"
IMPORT{db}="DM_DEL_PART_NODES"
ENV{DM_DEL_PART_NODES}!="1", ENV{DM_DEL_PART_NODES}="1", \
	RUN+="/usr/sbin/partx -d --nr 1-1024 $env{DEVNAME}"

LABEL="end_del_part_nodes"

Youez - 2016 - github.com/yon3zu
LinuXploit