PHP 8.2.30
Preview: mount-lun.sh Size: 332 B
/proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/lib/dracut/modules.d/95iscsi/mount-lun.sh

#!/bin/sh
if [ -z $iscsi_lun ]; then
    iscsi_lun=0
fi
NEWROOT=${NEWROOT:-"/sysroot"}

for disk in /dev/disk/by-path/*-iscsi-*-$iscsi_lun; do
    if mount -t ${fstype:-auto} -o "$rflags" $disk $NEWROOT; then
        if [ ! -d $NEWROOT/proc ]; then
            umount $disk
            continue
        fi
        break
    fi
done

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
88 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
10.38 KB lrwxr-xr-x 2025-12-17 18:54:47
Edit Download
9.14 KB lrwxr-xr-x 2025-12-17 18:54:47
Edit Download
332 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
5.96 KB lrwxr-xr-x 2025-12-17 18:54:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).