Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 16:54 -0400, Joey Hess wrote: > Ian Campbell wrote: > > So that's where the limit comes from. It's of pretty much no use to you > > but it's nice to know ;-) > > Well, I can deal with this multiple ways. I can use hash directories for > the journal files, or I can make it flu

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Joey Hess
Ian Campbell wrote: > There's a bunch of stuff (6000 or so small files) > in .git/annex/transfer/failed/upload/ on one end and > annex/transfer/failed/download/. Typical contents is > 1355907115.044185s > Saxon - Wheels Of Steel/10-Judgement Day (Live).ogg > > Are those safe to re

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Joey Hess
Ian Campbell wrote: > So that's where the limit comes from. It's of pretty much no use to you > but it's nice to know ;-) Well, I can deal with this multiple ways. I can use hash directories for the journal files, or I can make it flush the journal more often. The former adds some system call ove

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 13:36 -0400, Joey Hess wrote: > > > Will this inability to update the journal have corrupted the annex > at all? > > No, in the worst case you have have content present on the remote that > git-annex is not aware is present there. You can deal with that with: > git annex fsc

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 19:53 +, Ian Campbell wrote: > 96*7282 = 699072 (0xAAAC0) which doesn't seem like a terribly > interesting number, neither does doubling it (VFAT directory names are > in UTF-16 allegedly). VFAT directory entries are 32 bytes. With long filenames multiple of these are us

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 15:03 -0400, Joey Hess wrote: > Ian Campbell wrote: > > annex/journal has 7281 files in it, which is less than the number of objects > > I'd expect (this repo has >14,000 files in it), but doesn't seem like a > > likely > > FS limit (wikipedia doesn't say anything about files

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Joey Hess
Ian Campbell wrote: > annex/journal has 7281 files in it, which is less than the number of objects > I'd expect (this repo has >14,000 files in it), but doesn't seem like a likely > FS limit (wikipedia doesn't say anything about files-per-directory limits). Can you add additional new files to anne

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 13:36 -0400, Joey Hess wrote: > > > Will this inability to update the journal have corrupted the annex > at all? > > No, in the worst case you have have content present on the remote that > git-annex is not aware is present there. You can deal with that with: > git annex fsc

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
On Wed, 2012-12-19 at 13:36 -0400, Joey Hess wrote: > Ian Campbell wrote: > > rename("/media/IanCampbell/music.annex/annex/tmp/b70_ab2_SHA256E-s4762020--5ae1fc4c3220618153f4f3910cfa1b49b97a31e5c570e0dc7f322ff114322f71.ogg.log", > > > > "/media/IanCampbell/music.annex/annex/journal/b70_ab2_SHA256E

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Joey Hess
Ian Campbell wrote: > rename("/media/IanCampbell/music.annex/annex/tmp/b70_ab2_SHA256E-s4762020--5ae1fc4c3220618153f4f3910cfa1b49b97a31e5c570e0dc7f322ff114322f71.ogg.log", > > "/media/IanCampbell/music.annex/annex/journal/b70_ab2_SHA256E-s4762020--5ae1fc4c3220618153f4f3910cfa1b49b97a31e5c570e0dc7

Bug#696313: git-annex: Path length issues with bare repo on VFAT

2012-12-19 Thread Ian Campbell
Package: git-annex Version: 3.20121211 Severity: normal Hi, I am trying to use git-annex with a transfer repo on a USB drive. I'm using VFAT so I'm using a bare repo. (I did try using ext4 on my USB drive but that was painful because of the differing UIDs on different machines). The drive is moun