wiki:SaliUsage/Functions/fs_on_tmpfs

fs_on_tmpfs

This function checks if we make use of the tmpfs filesystem. This function is only used internally in /etc/init.d/functions.

Example

Usage:

    FILE=/tmp/si.log
    if fs_on_tmpfs / ; then
        echo $@ >> $FILE || shellout
    fi
}}
Last modified 14 years ago Last modified on 08/11/10 11:36:58