Group :: System/Configuration/Other
RPM: volumes-profile-kdesktop
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
volumes-profile-kdesktop-0.6.1/ 0000755 0000000 0000000 00000000000 11754727033 0016477 5 ustar 00root root 0000000 0000000 volumes-profile-kdesktop-0.6.1/10-vm-profile.sh 0000755 0000000 0000000 00000001230 11754727033 0021330 0 ustar 00root root 0000000 0000000 #!/bin/sh
mem=$[`grep MemTotal /proc/meminfo | sed 's/[^0-9]//g'`*4]
[ $mem -ge 32948992 ] && mem=32948992
# Don't use raids under virtualization
if lspci -n | grep -qE '(1013:00b8)|(80ee:beef)|(14ad:0405)' ; then
server_methods='plain'
mem=$[$mem/2]
else
server_methods='raid plain'
fi
cat > /var/cache/alterator/vm-profile.scm << _EOF_
(
(workstation
(title . "Setup for workstation")
(action . trivial)
(actiondata ("swap" (size . $mem) (fsim . "SWAPFS") (methods plain))
("/" (size 33000000 . 44000000 ) (fsim . "Ext2/3") (methods plain))
("/home" (size 4194304 . #t) (fsim . "Ext2/3") (methods plain))))
)
_EOF_