Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / bug / initramfs-tools / | server ip : 172.67.156.115 your ip : 172.70.130.177 H O M E |
Filename | /usr/share/bug/initramfs-tools/script |
Size | 1.31 kb |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 01-Jun-2012 11:36 |
Last accessed | 06-Jul-2025 16:37 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
exec >&3
echo "-- initramfs sizes"
ls -lh /boot/initrd.img-2.6.*
echo "-- /proc/cmdline"
cat /proc/cmdline
echo
if [ -r /etc/initramfs-tools/conf.d/resume ]; then
echo "-- resume"
cat /etc/initramfs-tools/conf.d/resume
fi
echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo
echo "-- lsmod"
lsmod
echo
if [ -r /etc/initramfs-tools/modules ]; then
echo "-- /etc/initramfs-tools/modules"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/modules
echo
fi
if [ -r /etc/kernel-img.conf ]; then
echo "-- /etc/kernel-img.conf"
cat /etc/kernel-img.conf
echo
fi
if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo "-- /etc/initramfs-tools/initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf
echo
fi
if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then
echo "-- /etc/initramfs-tools/update-initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf
echo
fi
if [ -r /etc/crypttab ]; then
echo "-- /etc/crypttab"
cat /etc/crypttab
echo
fi
if [ -r /proc/mdstat ]; then
echo "-- /proc/mdstat"
cat /proc/mdstat
echo
fi
if grep -rq "MODULES=dep" /etc/initramfs-tools/ ; then
echo "-- /sys/block"
ls /sys/block
echo
fi
echo "-- mkinitramfs hooks"
ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/
echo
exec >&3
echo "-- initramfs sizes"
ls -lh /boot/initrd.img-2.6.*
echo "-- /proc/cmdline"
cat /proc/cmdline
echo
if [ -r /etc/initramfs-tools/conf.d/resume ]; then
echo "-- resume"
cat /etc/initramfs-tools/conf.d/resume
fi
echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo
echo "-- lsmod"
lsmod
echo
if [ -r /etc/initramfs-tools/modules ]; then
echo "-- /etc/initramfs-tools/modules"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/modules
echo
fi
if [ -r /etc/kernel-img.conf ]; then
echo "-- /etc/kernel-img.conf"
cat /etc/kernel-img.conf
echo
fi
if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo "-- /etc/initramfs-tools/initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf
echo
fi
if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then
echo "-- /etc/initramfs-tools/update-initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf
echo
fi
if [ -r /etc/crypttab ]; then
echo "-- /etc/crypttab"
cat /etc/crypttab
echo
fi
if [ -r /proc/mdstat ]; then
echo "-- /proc/mdstat"
cat /proc/mdstat
echo
fi
if grep -rq "MODULES=dep" /etc/initramfs-tools/ ; then
echo "-- /sys/block"
ls /sys/block
echo
fi
echo "-- mkinitramfs hooks"
ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/
echo