Re: cygwin & spaces in disklist directory
2003-06-11 01:54:31
Subject: |
Re: cygwin & spaces in disklist directory |
From: |
Andy Howell <andyhowell AT sbcglobal DOT net> |
To: |
amanda-users AT amanda DOT org, Dumbell AT omniscient DOT com, Flyes AT omniscient DOT com, Seated AT omniscient DOT com, DB AT omniscient DOT com, press AT omniscient DOT com, 142 AT omniscient DOT com, Side AT omniscient DOT com, raises AT omniscient DOT com, 144 AT omniscient DOT com, Wide AT omniscient DOT com, grip AT omniscient DOT com, pull AT omniscient DOT com, downs AT omniscient DOT com, 146 AT omniscient DOT com, Seated AT omniscient DOT com, Cable AT omniscient DOT com, row AT omniscient DOT com, Close AT omniscient DOT com, grip AT omniscient DOT com, push AT omniscient DOT com, downs AT omniscient DOT com, 151 AT omniscient DOT com, Lying AT omniscient DOT com, DB AT omniscient DOT com, ext. AT omniscient DOT com, 153 AT omniscient DOT com, Incline AT omniscient DOT com, DB AT omniscient DOT com, curl AT omniscient DOT com, 154 AT omniscient DOT com, Hammer AT omniscient DOT com, Curls AT omniscient DOT com, 157 AT sbcglobal DOT net |
Date: |
Wed, 11 Jun 2003 00:50:24 -0500 |
Jon LaBadie wrote:
On Mon, Jun 09, 2003 at 11:08:23PM -0500, Andy Howell wrote:
Hello,
I am trying to get the amanda client running under cygwin on win2k.
amcheck doesn't like spaces in the directory in disklist. I am trying to
do something like
win2kpc /cgydrive/c/Documents and Settings srv-comp-user-tar
There does not seem to be any way to escape the spaces. Glancing at the
source, it looks like the macro in skip_non_whitespace in
common/amanda.h needs to be a bit smarter to know about quoted or
escaped strings. Any other work-arrounds for this?
I think it is not allowed.
Does cygwin have a command "link" or maybe "lndir". Not the normal "ln".
If it is the same as the one on Solaris and HP-UX it can make links to
directories. However, for consistancy the two links should be in the
same directory. You could then do a
link '/c/Documents and Settings' /c/DocsAndSettings
and backup the new name.
Jon.
ln -s '/cygdrive/c/Documents and Settings' /cygdrive/c/DocsAndSettings
did the trick. Recovery works fine as well. Now all I have to do is
figure out some permission problems with some NTUSER.DAT and related
files, and I'll be all set.
|
|
|