mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
70-usb-library.j2: Add additional logging of lib/root/boot mount points
Co-authored-by: A Holt <holta@users.noreply.github.com>
This commit is contained in:
parent
427dc57ed0
commit
2401ff3d60
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@ LIB_DEV=$(findmnt -no source /library | cut -d '[' -f 1)
|
|||
ROOT_DEV=$(findmnt -no source /)
|
||||
BOOT_DEV=$(findmnt -no source /boot)
|
||||
BOOTFW_DEV=$(findmnt -no source /boot/firmware)
|
||||
# Verbose logging to illuminate occasional boot bugginess:
|
||||
logger -t "usb_lib (70-usb-library)" "UM_DEVICE is: $UM_DEVICE"
|
||||
logger -t "usb_lib (70-usb-library)" "LIB_DEV is: $LIB_DEV"
|
||||
logger -t "usb_lib (70-usb-library)" "ROOT_DEV is: $ROOT_DEV"
|
||||
logger -t "usb_lib (70-usb-library)" "BOOT_DEV is: $BOOT_DEV"
|
||||
logger -t "usb_lib (70-usb-library)" "BOOTFW_DEV is: $BOOTFW_DEV"
|
||||
if [ "$UM_DEVICE" == "$LIB_DEV" ]; then
|
||||
logger -p user.notice -t "usb_lib (70-usb-library)" -- "Skipping $UM_MOUNTPOINT containing /library"
|
||||
exit
|
||||
|
|
Loading…
Add table
Reference in a new issue