Re: Hammer and Leafnode

2008-10-16 Thread Steve O'Hara-Smith
On Wed, 15 Oct 2008 16:37:22 -0700 (PDT)
Matthew Dillon [EMAIL PROTECTED] wrote:

 
 : Hi,
 :
 : I have a Hammer filesystem in place as a backup filesystem for
 :my /home fileystems on a couple of boxes (they're UFS and I'm feeding the
 :backup with jscan which works very well). One of the things being backed
 up :is my leafnode spool which causes a problem - there exist in the spool
 :files with names like:
 :
 :v@@[EMAIL PROTECTED]
 :
 : Attempts to access them produces an error - eg:
 :
 :bash-3.2# ls | grep visi
 :[EMAIL PROTECTED]
 :v@@[EMAIL PROTECTED]
 :bash-3.2# file `!!`
 :file `ls | grep visi`
 :[EMAIL PROTECTED]: news text
 :v@@[EMAIL PROTECTED]:   cannot open
 :`v@@[EMAIL PROTECTED]' (No such file or directory)
 :
 : I'm guessing the @@ in there is causing it to be misinterpreted
 as :a history reference.
 
 I have a patch for this in HEAD now and will MFC it to stable
 on Sunday after it gets some testing.

Works for me.

bash-3.2# ls | grep visi
[EMAIL PROTECTED]
v@@[EMAIL PROTECTED]
bash-3.2# file `!!`
file `ls | grep visi`
[EMAIL PROTECTED]: news text
v@@[EMAIL PROTECTED]:   news text

-- 
C:WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


Re: Hammer and Leafnode

2008-10-15 Thread Matthew Dillon

:   Hi,
:
:   I have a Hammer filesystem in place as a backup filesystem for
:my /home fileystems on a couple of boxes (they're UFS and I'm feeding the
:backup with jscan which works very well). One of the things being backed up
:is my leafnode spool which causes a problem - there exist in the spool
:files with names like:
:
:v@@[EMAIL PROTECTED]
:
:   Attempts to access them produces an error - eg:
:
:bash-3.2# ls | grep visi
:[EMAIL PROTECTED]
:v@@[EMAIL PROTECTED]
:bash-3.2# file `!!`
:file `ls | grep visi`
:[EMAIL PROTECTED]: news text
:v@@[EMAIL PROTECTED]:   cannot open
:`v@@[EMAIL PROTECTED]' (No such file or directory)
:
:   I'm guessing the @@ in there is causing it to be misinterpreted as
:a history reference.

I have a patch for this in HEAD now and will MFC it to stable
on Sunday after it gets some testing.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


Re: Hammer and Leafnode

2008-10-05 Thread Matthew Dillon

:   Hi,
:
:   I have a Hammer filesystem in place as a backup filesystem for
:my /home fileystems on a couple of boxes (they're UFS and I'm feeding the
:backup with jscan which works very well). One of the things being backed up
:is my leafnode spool which causes a problem - there exist in the spool
:files with names like:
:
:v@@[EMAIL PROTECTED]
:
:   Attempts to access them produces an error - eg:
:
:bash-3.2# ls | grep visi
:[EMAIL PROTECTED]
:v@@[EMAIL PROTECTED]
:bash-3.2# file `!!`
:file `ls | grep visi`
:[EMAIL PROTECTED]: news text
:v@@[EMAIL PROTECTED]:   cannot open
:`v@@[EMAIL PROTECTED]' (No such file or directory)
:
:   I'm guessing the @@ in there is causing it to be misinterpreted as
:a history reference.

Ok, that's a bug.  It's only supposed to interpret @@ softlinks if they
are in the correct snapshot format.  And those clearly aren't.

I'll try to get to this Wednesday when I get back home.  Someone remind me
on IRC if I forget, after I get back.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]