|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Problem with Postfix Sources in AFS
From: Lionel Cons (lionel.cons
cern.ch)Date: Wed Jul 05 2000 - 04:27:10 CDT
- Next message: Ralf Hildebrandt: "Re: Sendmail vs Postfix"
- Previous message: rakesh
isac.ernet.in: "Sendmail vs Postfix"
- In reply to: Wietse Venema: "Re: Problem with Postfix Sources in AFS"
- Reply: Lionel Cons: "Re: Problem with Postfix Sources in AFS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
wietse
porcupine.org (Wietse Venema) writes:
> Lionel Cons:
> > When I untar the Postfix sources in AFS I get several error messages
> > because the tar file contains hardlinks and AFS cannot handle
> > hardlinks across directories:
> > [...]
> > Would it be possible to replace these hardlinks by symlinks in the tar
> > file?
>
> This is almost as weird as the request from someone who was running
> CVS on Windows.
Almost, but not as weird ;-)
> In order to build Postfix you do not need the .indent or .printfck
> files. They are used for development only.
>
> How about you produce a patch to the Makefile.in files that copies
> ../.whatever so that dotfiles are kept up to date without bother.
Here is the exact situation. The latest tar file contains 59
hardlinks. One is for the licence file (conf/LICENSE => LICENSE) and
then two hardlinks exist in each of the 29 "source directories"
(<dir>/.printfck => .printfck and <dir>/.indent.pro => .indent.pro).
I could modify the Makefiles so that the .printfck are not needed
anymore but this would not help for the remaining 30 hardlinks. I have
no idea how the .indent.pro files are used.
Anyway, here is my contribution:
- to change the Makefiles
# perl -pi -e 's{ \.printfck }{ ../.printfck }' */Makefile.in
# rm -f */.printfck
- to replace hardlinks by symlinks
# perl -e 'foreach (
ARGV) { unlink($_) and symlink("..".substr($_,index($_,"/")),$_) }' conf/LICENSE */.indent.pro */.printfck
Cheers,
________________________________________________________
Lionel Cons http://home.cern.ch/~cons
CERN http://www.cern.ch
I disapprove of what you say, but I will defend to the death your right to
say it.
- Voltaire
- Next message: Ralf Hildebrandt: "Re: Sendmail vs Postfix"
- Previous message: rakesh
isac.ernet.in: "Sendmail vs Postfix"
- In reply to: Wietse Venema: "Re: Problem with Postfix Sources in AFS"
- Reply: Lionel Cons: "Re: Problem with Postfix Sources in AFS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]