#!/bin/sh
rm -f hardlink.check.org hardlink.check.link
>hardlink.check.org
ln hardlink.check.org hardlink.check.link 2> /dev/null > /dev/null
rc=$?
rm -f hardlink.check.org hardlink.check.link
echo $rc
exit $rc

