On Sat, 11 Sep 1999, Chris Costello wrote:
> Date: Sat, 11 Sep 1999 16:04:25 -0500
> From: Chris Costello
> To: Wayne Cuddy
> Cc: FreeBSD Hackers List
> Subject: Re: how did I manage this? (fwd)
>
> On Sat, Sep 11, 1999, Wayne Cuddy wrote:
> > I tried this on questions with no response and wan
On Sat, 11 Sep 1999, Chris Costello wrote:
> Date: Sat, 11 Sep 1999 16:04:25 -0500
> From: Chris Costello <[EMAIL PROTECTED]>
> To: Wayne Cuddy <[EMAIL PROTECTED]>
> Cc: FreeBSD Hackers List <[EMAIL PROTECTED]>
> Subject: Re: how did I manage this? (fwd)
>
> On Sat, Sep 11, 1999, Wayne Cuddy wro
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 S
On Sun, Sep 12, 1999, Chris Costello wrote:
> > 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 "/".
O
On Sun, 12 Sep 1999, Chris Costello wrote:
> Date: Sun, 12 Sep 1999 10:13:45 -0500
> From: Chris Costello
> To: Wayne Cuddy
> Cc: hack...@freebsd.org
> Subject: Re: more info Re: how did I manage this?
>
> On Sun, Sep 12, 1999, Chris Costello wrote:
> > > However,
On Sun, Sep 12, 1999, Wayne Cuddy wrote:
> >ls '$DEST_DIR'
> $2
>
> Interestingly enough 2 is the inode number of both the root directory and the
> root
> directory of the /home partition.
That's not all too interesting. It seems to be normal:
$ ls -ldi /usr / /var
2 drwxr-xr-x 20 root wh
On Sun, 12 Sep 1999, Chris Costello wrote:
> 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:1
On Sun, Sep 12, 1999 at 12:29:55PM -0400, Wayne Cuddy wrote:
> >rm '$DEST_DIR'
> rm: $DEST_DIR: is a directory
>
> >ls '$DEST_DIR'
> $2
>
rm doesn't work on directories.. go for
$ rm -rf '$DEST_DIR'
or
$ rm '$DEST_DIR'/'$2'
$ rmdir '$DEST_DIR'
regards,
-Oscar
--
For PGP Public Key: finger o
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
On Sun, Sep 12, 1999, Chris Costello wrote:
> > 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 "/".
Oops!
On Sun, 12 Sep 1999, Chris Costello wrote:
> Date: Sun, 12 Sep 1999 10:13:45 -0500
> From: Chris Costello <[EMAIL PROTECTED]>
> To: Wayne Cuddy <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: more info Re: how did I manage this?
>
> On Sun, S
On Sun, Sep 12, 1999, Wayne Cuddy wrote:
> >ls '$DEST_DIR'
> $2
>
> Interestingly enough 2 is the inode number of both the root directory and the root
> directory of the /home partition.
That's not all too interesting. It seems to be normal:
$ ls -ldi /usr / /var
2 drwxr-xr-x 20 root whee
On Sun, 12 Sep 1999, Chris Costello wrote:
> 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:
On Sun, Sep 12, 1999 at 12:29:55PM -0400, Wayne Cuddy wrote:
> >rm '$DEST_DIR'
> rm: $DEST_DIR: is a directory
>
> >ls '$DEST_DIR'
> $2
>
rm doesn't work on directories.. go for
$ rm -rf '$DEST_DIR'
or
$ rm '$DEST_DIR'/'$2'
$ rmdir '$DEST_DIR'
regards,
-Oscar
--
For PGP Public Key: finger
14 matches
Mail list logo