Re: chattr and symlinks

2003-08-27 Thread Johann Spies
On Tue, Aug 26, 2003 at 12:58:43PM -0700, Vineet Kumar wrote:
> One way to accomplish this, though, would be to exclude
> that particular directory from the regular rsync run and then run a
> separate rsync just for that directory, with the target set to the
> corrected location.

Thanks for the hint.  It looks like a good workaround.

Regards
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "But the end of all things is at hand; be ye therefore 
  sober, and watch unto prayer. And above all things 
  have fervent love among yourselves; for love shall  
  cover the multitude of sins."  I Peter 4:7,8


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: chattr and symlinks

2003-08-26 Thread Vineet Kumar
* Johann Spies ([EMAIL PROTECTED]) [030818 03:45]:
> I have a disk space problem on my ftp-server. I have moved the "dists"
> section of the debian archive to another disk and made a symlink to
> the normal mirror.
> 
> The mirror script (I am using rsync) now overwrites that symlink with
> a normal directory.  I want to prevent this and want rsync to follow
> the symlink on the destination side.
> 
> As I understand the rsync-manpage this is not possible.  Am I correct?

It looks like -L would do this in the other direction; if the symlink
were on the source host, the destination would get the contents of the
referent of the link in situ.

I don't know of a way to have rsync follow the link on the target side,
as you want.  One way to accomplish this, though, would be to exclude
that particular directory from the regular rsync run and then run a
separate rsync just for that directory, with the target set to the
corrected location.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
--Nick Moffitt
A: No.
Q: Should I include quotations after my reply?


pgp0.pgp
Description: PGP signature


Re: chattr and symlinks (apology)

2003-08-18 Thread Johann Spies
I apologise for the wrong subject line.  Actually I planned to ask
about chattr and was interrupted while composing the email.  

Maybe I must ask my intended question here:  Is there a way to do to a
symlink what "chattr -i" does to a normal file or directory?

Regards
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "And I say unto you, Ask, and it shall be given you; 
  seek, and ye shall find; knock, and it shall be opened
  unto you."Luke 11:9 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]