Linux/Tipps/Gentoo/Bugs: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
→PXE mit baselayout-1.12.11.1 und util-linux-2.14.1
Thomas (Diskussion | Beiträge) (→Bugs) |
Thomas (Diskussion | Beiträge) |
||
Zeile 20: | Zeile 20: | ||
# Should we mount root rw ? the touch check is to see if the / is | # Should we mount root rw ? the touch check is to see if the / is | ||
# already mounted rw in which case there's nothing for us to do | # already mounted rw in which case there's nothing for us to do | ||
# if mount -vf -o remount / 2> /dev/null | \ | '''#''' if mount -vf -o remount / 2> /dev/null | \ | ||
# awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }' && \ | '''#''' awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }' && \ | ||
# ! touch -c / >& /dev/null | '''#''' ! touch -c / >& /dev/null | ||
# then | '''#''' then | ||
ebegin "Remounting root filesystem read/write" | ebegin "Remounting root filesystem read/write" | ||
mount -n -o remount,rw / &> /dev/null | mount -n -o remount,rw / &> /dev/null | ||
Zeile 34: | Zeile 34: | ||
eend 0 | eend 0 | ||
fi | fi | ||
# fi | '''#''' fi | ||
==lirc mit Kernel 2.6.27== | ==lirc mit Kernel 2.6.27== |