[mythtv-users] Yet another silly action to drive the mythbox crazy

Another Sillyname anothersname at googlemail.com
Thu Aug 21 08:54:02 UTC 2014


While I appreciate extensive coding would be a PITA and you can never
code for ALL the possibilities that user misconfiguration can cater
for perhaps a simple (not in C++)......

if [ $STORAGEDEFAULTDIRECTORYDEVICE == `df -h | grep "/$" | awk -F " "
' { print $1 }' ]; then

echo "You're not allowed to have the default storage directory on the
same device as your root directory to avoid crashing your machine"
echo "Please choose a different directory and hard drive to install
your default storage group.........."
echo "exiting hard, please reconfigure before running setup again"

exit 99

fi


While the code isn't elegant you get the point





On 21 August 2014 09:29, Simon Hobson <linux at thehobsons.co.uk> wrote:
> Hika van den Hoven <hikavdh at gmail.com> wrote:
>
>> Ext2/3/4 have the (if I remember correctly) -m option for reserved
>> space for root!
>
> But that won't help (say) MySQL which also doesn't run as root. It should, in theory, avoid the whole machine falling over - but it won't prevent a full disk crippling other non-root programs running.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list