Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 10:05:57 -0500
From:      Chris Costello <chris@calldei.com>
To:        Wayne Cuddy <wayne@crb-web.com>
Cc:        FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: more info Re: how did I manage this?
Message-ID:  <19990912100557.E14022@holly.calldei.com>
In-Reply-To: <Pine.LNX.4.10.9909121133280.7847-100000@crb.crb-web.com>
References:  <19990911160425.B13033@holly.calldei.com> <Pine.LNX.4.10.9909121133280.7847-100000@crb.crb-web.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|Managing programmers is like herding cats.
`------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990912100557.E14022>