On Sun, Sep 12, 1999, Wayne Cuddy wrote: > Here is my directory listing: > drwxrwxr-x 3 wcuddy wcuddy 512 Sep 5 17:29 $DEST_DIR > -rwxr-xr-x 1 wcuddy wcuddy 2324 Sep 6 22:51 do_install.sh > -rw-rw-r-- 1 wcuddy wcuddy 533 Sep 5 21:12 file_list.txt > -rw-rw-r-- 1 wcuddy wcuddy 155 Sep 5 21:58 install.conf > -rw-rw-r-- 1 wcuddy wcuddy 145 Sep 6 22:27 post-install > -rw-rw-r-- 1 wcuddy wcuddy 144 Sep 6 22:24 pre-install > > Here is the output of my mount: > /dev/da0s1a on / (asynchronous, NFS exported, local, writes: sync 26 async > 22259) > /dev/da2s1e on /home (asynchronous, local, writes: sync 8 async 5181) > /dev/da1s1e on /usr (asynchronous, local, writes: sync 3 async 20654) > procfs on /proc (local) > > Since /home is on a separate file system I don't think it is a hard link. > However, if do a 'cd \$DEST_DIR' I end up in the root directory. If I do a > 'rm $DEST_DIR/', I get 'rm: /: is a directory'. If it can't be a hard link I > have no idea what it is.
That's because $DEST_DIR is expanding to "/". Try unsetting that variable and then enclosing it in single quotes in your rm command. -- |Chris Costello <ch...@calldei.com> |Managing programmers is like herding cats. `------------------------------------------ To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message