+/tmp $ dd if=/dev/zero of=/tmp/file.bin count=1024 +1024+0 records in +1024+0 records out +524288 bytes (524 kB) copied, 0.0135652 s, 38.6 MB/s +/tmp $ mkdir /tmp/repo +/tmp $ cd /tmp/repo +/tmp/repo $ git init +Initialized empty Git repository in /tmp/repo/.git/ +/tmp/repo $ git annex init "test" +init test ok +(Recording state in git...) +/tmp/repo $ git annex addurl file:///tmp/file.bin --file annexed.bin +######################################################################## 100.0% +(checksum...) ok +(Recording state in git...) +/tmp/repo $ git annex drop annexed.bin +drop annexed.bin (checking file:///tmp/file.bin...) ok +(Recording state in git...) +/tmp/repo $ mv /tmp/file.bin /tmp/file2.bin +/tmp/repo $ git annex get annexed.bin +get annexed.bin (from web...) +curl: (37) Couldn't open file /tmp/file.bin + + Unable to access these remotes: web + + Try making some of these repositories available: + 00000000-0000-0000-0000-000000000001 -- web +failed +git-annex: get: 1 failed +/tmp/repo $ git annex drop --from web annexed.bin --force +drop web annexed.bin + removal from web not supported +failed +(Recording state in git...) +git-annex: drop: 1 failed +/tmp/repo $ git annex get annexed.bin +get annexed.bin (not available) + No other repository is known to contain the file. +failed +git-annex: get: 1 failed +/tmp/repo $ mv /tmp/file2.bin /tmp/file.bin +/tmp/repo $ git annex addurl file:///tmp/file.bin --file annexed.bin +addurl annexed.bin ok +/tmp/repo $ git annex whereis annexed.bin +whereis annexed.bin (0 copies) failed +git-annex: whereis: 1 failed +/tmp/repo $ git annex addurl file:///tmp/file.bin --file annexed2.bin +######################################################################## 100.0% +(checksum...) ok +(Recording state in git...) +/tmp/repo $ git annex whereis annexed.bin +whereis annexed.bin (1 copy) + e2418e81-ec04-4091-aabe-ed75d65f93fa -- here (test) +ok +/tmp/repo $ git annex whereis annexed2.bin +whereis annexed2.bin (1 copy) + e2418e81-ec04-4091-aabe-ed75d65f93fa -- here (test) +ok +/tmp/repo $ git annex drop annexed.bin +drop annexed.bin (unsafe) + Could only verify the existence of 0 out of 1 necessary copies + + No other repository is known to contain the file. + + (Use --force to override this check, or adjust annex.numcopies.) +failed +git-annex: drop: 1 failed +/tmp/repo $ git annex drop annexed2.bin +drop annexed2.bin (unsafe) + Could only verify the existence of 0 out of 1 necessary copies + + No other repository is known to contain the file. + + (Use --force to override this check, or adjust annex.numcopies.) +failed +git-annex: drop: 1 failed +/tmp/repo $ mv /tmp/file.bin /tmp/file2.bin +/tmp/repo $ git annex addurl file:///tmp/file2.bin --file annexed.bin +addurl annexed.bin ok +(Recording state in git...) +/tmp/repo $ git annex whereis annexed2.bin +whereis annexed2.bin (2 copies) + 00000000-0000-0000-0000-000000000001 -- web + e2418e81-ec04-4091-aabe-ed75d65f93fa -- here (test) + + web: file:///tmp/file.bin + web: file:///tmp/file2.bin +ok +/tmp/repo $ mv /tmp/file2.bin /tmp/file.bin +/tmp/repo $ git annex drop annexed.bin +drop annexed.bin (checking file:///tmp/file.bin...) ok +(Recording state in git...) +/tmp/repo $ git annex get annexed.bin +get annexed.bin (from web...) +######################################################################## 100.0% +ok +(Recording state in git...) +/tmp/repo $ git annex drop annexed.bin +drop annexed.bin (checking file:///tmp/file.bin...) ok +(Recording state in git...) +/tmp/repo $ mv /tmp/file.bin /tmp/file2.bin +/tmp/repo $ git annex get annexed.bin +get annexed.bin (from web...) +curl: (37) Couldn't open file /tmp/file.bin +######################################################################## 100.0% +ok +(Recording state in git...) ++ +#What is the expected output? What do you see inst + + +When dropping one file and I see "git-annex: drop: 1 failed" I would expect the file to still be in the remote as far as git-annex is concerned. + +When re-adding the URL, I expect the file to be re-added to the web remote. (note that it re-appears after adding the same file via a different URL) + + +#What version of git-annex are you using? On what operating system? + + +3.20121112 on Gentoo Linux + + +#Please provide any additional information below. + +This seems to be a corner case, and would probably have minimal impact on most people. diff --git a/doc/bugs/fat_support/comment_8_acc947643a635eb10a1bff92083a3506._comment b/doc/bugs/fat_support/comment_8_acc947643a635eb10a1bff92083a3506._comment new file mode 100644 index 0000000..558e0ca --- /dev/null +++ b/doc/bugs/fat_support/comment_8_acc947643a635eb10a1bff92083a3506._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ" + nickname="Thiago" + subject="POSIX layer on top of VFAT using FUSE" + date="2012-11-24T00:21:23Z" + content=""" +I just found out about this project and didn't try it, but it looks like it would allow using git-annex on an usb stick with a normal repository: + +
+ Box.com offers a small quantity of storage # + for free, and larger quantities for a fee. +
+ Even a small amount of free storage is useful, as a transfer point # + between your repositories. +
+ All data will be encrypted before being sent to Box.com. +
+