Added a comment: still seems to be a problem with 4.20130323
This commit is contained in:
parent
58fd37bb9b
commit
11b3942ef2
1 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://hands.com/~phil/"
|
||||
nickname="hands"
|
||||
subject="still seems to be a problem with 4.20130323"
|
||||
date="2013-03-31T16:49:47Z"
|
||||
content="""
|
||||
Hi Joey,
|
||||
|
||||
Seems that I can still get this to choke on a VFAT system:
|
||||
|
||||
poker% sudo mount -o loop,gid=25,fmask=0117,dmask=0007 /home/phil/nobackup/annextest-image/vfat-annex-test.img /mnt
|
||||
poker% mount | grep /mnt
|
||||
/home/phil/nobackup/annextest-image/vfat-annex-test.img on /mnt type vfat (rw,relatime,gid=25,fmask=0117,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)
|
||||
poker% cd /mnt
|
||||
poker% git init
|
||||
Initialized empty Git repository in /mnt/.git/
|
||||
poker% git annex init simple\ test
|
||||
init simple test
|
||||
Detected a crippled filesystem.
|
||||
|
||||
Enabling direct mode.
|
||||
ok
|
||||
(Recording state in git...)
|
||||
poker% for i in $(seq 1 42) ; do echo $i > $i.txt ; done
|
||||
poker% git annex add *.txt
|
||||
add 10.txt (checksum...) ok
|
||||
add 11.txt (checksum...) ok
|
||||
...
|
||||
add 40.txt (checksum...) ok
|
||||
add 41.txt (checksum...) ok
|
||||
add 42.txt (checksum...)
|
||||
git-annex: /mnt/.git/annex/objects/Wj/56: createDirectory: does not exist (No such file or directory)
|
||||
failed
|
||||
add 4.txt (checksum...) ok
|
||||
add 5.txt (checksum...) ok
|
||||
add 6.txt (checksum...) ok
|
||||
add 7.txt (checksum...) ok
|
||||
add 8.txt (checksum...) ok
|
||||
add 9.txt (checksum...) ok
|
||||
(Recording state in git...)
|
||||
git-annex: add: 1 failed
|
||||
poker% ls -ld /mnt/.git/annex/objects/[wW][jJ]
|
||||
drwxrwx--- 3 root floppy 4096 Mar 31 17:21 /mnt/.git/annex/objects/wJ
|
||||
poker% git annex version
|
||||
git-annex version: 4.20130323
|
||||
|
||||
perhaps I shouldn't be trying that anyway -- I was wanting to create a direct mode repo on each of my camera's SD cards, which the camera will happily ignore, but allows me to add new photos to the repo by plugging the card into my laptop, and then copy them elsewhere using git annex magic. I'm hoping that would allow me to leave favorite photos on the camera, for showing off photos when without my laptop, while not becoming confused about which photos I've already got copies of and can safely delete (with annex's drop telling me when I try to delete things I shouldn't).
|
||||
|
||||
The reason not to use a special directory remote (at least I think this is right judging from the wiki info) is that the camera won't grok the filenames under .git/annex/... so the photos need to be left with their names as created by the camera.
|
||||
|
||||
Anyway, while experimenting with that idea, I bumped into the above, which seems like a continuation of this bag.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue