I am having problems unlinking a directory, /opt/opt, which I linked to
/opt using /usr/sbin/link. This is NOT a symbolic link. /usr/sbin/unlink does
not work. I tried the following program which does not work.
main(int argc, char **argv)
{
extern int errno;
unlink(argv[1]);
perror(argv[1]);
exit(errno);
It returns errno == 22.Quote:}
/opt is a mount point. The OS is SunOS 5.2. Mount(1m) returns in part:
/opt on /dev/dsk/c0t2d0s0 setuid/read/write on Mon Jul 26 01:31:50 1993
Any suggestions on how to unlink /opt/opt would be greatly appreciated.
-David