On Tue, 19 Mar 2002, [iso-8859-1] Anrdeas Gschwendtner wrote:

> So I wondered how I can do this with fink and dselect.
> Everything I downloaded so far went -- of course -- in
> the depths of my /sw folder -- which resides on my
> system startup disk.

Look a little closer though, things aren't in there randomly:

  /sw/src -> source downloads
  /sw/fink/dists -> catalog of available software [key directory!]
  /sw/fink/dists/stable   -> parent directory for stable catalog
  /sw/fink/dists/local    ->   "        "      "  local/custom catalog
  /sw/fink/dists/unstable ->   "        "      "  unstable catalog
  /sw/fink/dists/$foo/main -> the majority of available software
  /sw/fink/dists/$foo/crypto -> encryption type stuff (not for Germans :)
  /sw/fink/dists/$foo/$bar/finkinfo -> text descriptions of avail. pkgs.
  /sw/fink/dists/$foo/$bar/binary-darwin-powerpc -> your .deb files!
  /sw/fink/debs -> symlinks to .deb files from previous director[ies]

  /sw/bin -> executable programs (main software goes here)
  /sw/sbin -> executable programs ("system" level, core stuff)
  /sw/lib -> runtime libraries
  /sw/libexec -> runtime libraries

  /sw/etc -> configuration files

  /sw/man -> man pages (traditional Unix documentation)
  /sw/doc -> more documentation files

So the stuff isn't just buried in there willy-nilly: it's carefully
organized and should be easy to protect & maintain. If you want to back up
the sources, you want to grab everything in /sw/src. If you want the built
archives, back up /sw/fink. If you want, you can move this material to a
different partition (same disc or different disc), and symlink the remote
directory back to where it started. I've done this for the src directory,
as it was taking up too much space on my System partition:

  % mkdir /Volumes/Data/Fink/Sources
  % mv /sw/src/* /Volumes/Data/Fink/Sources
  % sudo rmdir /sw/src
  % sudo ln -s /Volumes/Data/Fink/Sources /sw/src

If you want to copy this, be careful that nothing gets broken in the move.
I chose this directory because, as far as I can tell, you should have
nothing in there but downloaded source .tar.gz's, .tgz's, etc. Anything
with subdirectories you'll have to be more careful about. That said, if
you're careful you *can* replace many of the raw directories with symlinks
to equivalent directories on a different partition, but *be careful*. 


Surely this is a FAQ... :)



-- 
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to