#!/bin/bash
function test()
{
        stdout=`df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -nouser`
                if [ -n "$stdout" ];then
                        echo 1
                else
                        echo 0
                fi

}
test

