git-annex/Utility
Joey Hess 6869e6023e support .git/annex on a different disk than the rest of the repo
The only fully supported thing is to have the main repository on one disk,
and .git/annex on another. Only commands that move data in/out of the annex
will need to copy it across devices.

There is only partial support for putting arbitrary subdirectories of
.git/annex on different devices. For one thing, but this can require more
copies to be done. For example, when .git/annex/tmp is on one device, and
.git/annex/journal on another, every journal write involves a call to
mv(1). Also, there are a few places that make hard links between various
subdirectories of .git/annex with createLink, that are not handled.

In the common case without cross-device, the new moveFile is actually
faster than renameFile, avoiding an unncessary stat to check that a file
(not a directory) is being moved. Of course if a cross-device move is
needed, it is as slow as mv(1) of the data.
2011-11-28 16:17:55 -04:00
..
Base64.hs rename 2011-07-05 20:24:10 -04:00
Conditional.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
CopyFile.hs factor out common imports 2011-10-03 23:29:48 -04:00
DataUnits.hs correct spelling of "gibibyte" 2011-10-16 01:03:38 -04:00
Directory.hs support .git/annex on a different disk than the rest of the repo 2011-11-28 16:17:55 -04:00
Dot.hs finished hlint pass 2011-07-15 12:47:14 -04:00
FileMode.hs make unused check branches and tags too 2011-09-28 16:43:10 -04:00
JSONStream.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Matcher.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Misc.hs factored out some useful error catching methods 2011-11-10 20:57:28 -04:00
Monad.hs broke up Utility 2011-10-16 00:50:12 -04:00
Path.hs broke up Utility 2011-10-16 00:50:12 -04:00
RsyncFile.hs Avoid excessive escaping for rsync special remotes that are not accessed over ssh. 2011-11-18 12:53:48 -04:00
SafeCommand.hs add safeSystem 2011-11-09 17:28:35 -04:00
StatFS.hsc moved files around 2011-08-20 16:11:42 -04:00
TempFile.hs Remove haskell98 to build with ghc 7.2.2, also built with ghc 7.0.4 2011-11-26 12:05:08 -04:00
Touch.hsc go go gadget hlint 2011-09-20 23:24:48 -04:00
Url.hs broke up Utility 2011-10-16 00:50:12 -04:00