summaryrefslogtreecommitdiff
path: root/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_')
-rw-r--r--doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_1_eb6db7f6a156a065e2724c2de5fc4366._comment10
-rw-r--r--doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_2_59a96cade9e4881767562a139fc7fb4b._comment40
-rw-r--r--doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_3_bf9d2562d66f0f6a9478ac178606cf4e._comment12
-rw-r--r--doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_4_ad0dbdc448fff2e126ffec9aac6d7463._comment23
-rw-r--r--doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_5_e828585e56b10710598143483ce362b6._comment12
5 files changed, 0 insertions, 97 deletions
diff --git a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_1_eb6db7f6a156a065e2724c2de5fc4366._comment b/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_1_eb6db7f6a156a065e2724c2de5fc4366._comment
deleted file mode 100644
index a0af0bc8f..000000000
--- a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_1_eb6db7f6a156a065e2724c2de5fc4366._comment
+++ /dev/null
@@ -1,10 +0,0 @@
-[[!comment format=mdwn
- username="http://joeyh.name/"
- nickname="joey"
- subject="comment 1"
- date="2013-04-01T18:28:21Z"
- content="""
-Are you sure these files did not already have the same content before you ran git-annex on them?
-
-Can you show me the output of `git show` when run on some of these files?
-"""]]
diff --git a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_2_59a96cade9e4881767562a139fc7fb4b._comment b/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_2_59a96cade9e4881767562a139fc7fb4b._comment
deleted file mode 100644
index f62c2e69e..000000000
--- a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_2_59a96cade9e4881767562a139fc7fb4b._comment
+++ /dev/null
@@ -1,40 +0,0 @@
-[[!comment format=mdwn
- username="https://www.google.com/accounts/o8/id?id=AItOawn26WQjIP5fnMgQF_L_k3Q3UrR5v8mjRTY"
- nickname="Ellis"
- subject="comment 2"
- date="2013-04-02T20:18:05Z"
- content="""
-*Are you sure these files did not already have the same content before you ran git-annex on them?*
-
-Yes, each one was a distinct photo, video, or audio recording. The only operation performed between creation and ``git annex add`` was moving them into the import directory from the command line via e.g. ``mv /sdcard/DCIM/Camera/* .``.
-
-If you'd like, I'll try to find a set of files to reproduce the problem with.
-
-*Can you show me the output of git show when run on some of these files?*
-
-Sure. Here are two WAV files. The first one was correctly stored, and the second one is now a duplicate of the first.
-
- commit bb282af90745c8a50e74c1f724e6cc708bfa9591
- Author: Ellis Whitehead <ellis@****>
- Date: Mon Apr 1 17:05:19 2013 +0200
-
- git-annex automatic sync
-
- diff --git a/import/2013-03-02_13-57-08_jeromin.wav b/import/2013-03-02_13-57-08_jeromin.wav
- new file mode 120000
- index 0000000..55a8cf1
- --- /dev/null
- +++ b/import/2013-03-02_13-57-08_jeromin.wav
- @@ -0,0 +1 @@
- +../.git/annex/objects/VG/vf/SHA256E-s49222316--acd9b8f94981543c601461c4cb602dae4e7d9d9a72654a3915c6e9d0221791b7.wav/SHA256E-s49222316--acd9b8f94981543c601461c4cb602dae4e7d9d9a72654a3915c6e9d0221791b7.wav
- \ No newline at end of file
- diff --git a/import/2013-03-02_14-06-11_karina.wav b/import/2013-03-02_14-06-11_karina.wav
- new file mode 120000
- index 0000000..55a8cf1
- --- /dev/null
- +++ b/import/2013-03-02_14-06-11_karina.wav
- @@ -0,0 +1 @@
- +../.git/annex/objects/VG/vf/SHA256E-s49222316--acd9b8f94981543c601461c4cb602dae4e7d9d9a72654a3915c6e9d0221791b7.wav/SHA256E-s49222316--acd9b8f94981543c601461c4cb602dae4e7d9d9a72654a3915c6e9d0221791b7.wav
- \ No newline at end of file
-
-"""]]
diff --git a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_3_bf9d2562d66f0f6a9478ac178606cf4e._comment b/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_3_bf9d2562d66f0f6a9478ac178606cf4e._comment
deleted file mode 100644
index 2cc257839..000000000
--- a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_3_bf9d2562d66f0f6a9478ac178606cf4e._comment
+++ /dev/null
@@ -1,12 +0,0 @@
-[[!comment format=mdwn
- username="http://joeyh.name/"
- nickname="joey"
- subject="comment 3"
- date="2013-04-02T21:34:50Z"
- content="""
-The truely odd thing about this is that when git-annex adds a direct mode file, it does *not* touch the file at all. The file is left right where it is.
-
-This is even the case if two files have the same SHA checksum. I have just verified that even in this case; neither file is touched in any way by `git annex add`.
-
-(Obviously, I never saw anything like this when working with git-annex on Android. I hope this is not some evil April Fools prank.)
-"""]]
diff --git a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_4_ad0dbdc448fff2e126ffec9aac6d7463._comment b/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_4_ad0dbdc448fff2e126ffec9aac6d7463._comment
deleted file mode 100644
index 47c53ac84..000000000
--- a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_4_ad0dbdc448fff2e126ffec9aac6d7463._comment
+++ /dev/null
@@ -1,23 +0,0 @@
-[[!comment format=mdwn
- username="https://www.google.com/accounts/o8/id?id=AItOawn26WQjIP5fnMgQF_L_k3Q3UrR5v8mjRTY"
- nickname="Ellis"
- subject="comment 4"
- date="2013-04-03T09:02:44Z"
- content="""
-*The truely odd thing about this is that when git-annex adds a direct mode file, it does not touch the file at all. The file is left right where it is.*
-
-After further investigation, I've managed to reproduce the error, and it is **not** caused by git-annex, but by a limitation in my device's sdcard overlay (I can now see that I was using it in an unintended fashion). Sorry to have taken your time with this. However, the following information may be useful for others who might also want to use git-annex from the android console to manager their media.
-
-Some android devices don't have sdcards (they are the ones which want you to use MTP (Media Transfer Protocol) to transfer data via a USB cable). These devices emulate an sdcard for use by apps. On my Samsung Galaxy Nexus, the emulated sdcard is at ``/sdcard``. If your device is rooted, you will find the equivalent \"real\" filesystem at ``/data/media/0``. There is apparently a limitation in the sdcard emulator which causes ``mv`` commands involving multiple files to semi-randomly fail when moving files from ``/sdcard`` to ``/data/media/0``. What happens is that the command will randomly tend to replace some of the files in the move with a hardlink to another one of the files. I have encountered no problems when moving files from ``/sdcard`` any other destination.
-
-So **don't do this** (or variants of it):
-
- $ mv /sdcard/DCIM/Camera/* /data/media/0/annex-on-a-good-fs/import
-
-My reason for placing the repository under ``/data/media/0/`` is so that git-annex can use a non-crippled filesystem, but at the same time other apps can access the data under ``/sdcard``. To get around the above problem, either of these two commands can be used:
-
- $ mv /sdcard/DCIM/Camera/* /sdcard/annex-on-a-good-fs/import
- $ mv /data/media/0/DCIM/Camera/* /data/media/0/annex-on-a-good-fs/import
-
-@joey: the instructions say to link this bug to ``done`` when it's closed, but I don't see how to do that? Or should it be deleted, since it wasn't a git-annex bug at all?
-"""]]
diff --git a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_5_e828585e56b10710598143483ce362b6._comment b/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_5_e828585e56b10710598143483ce362b6._comment
deleted file mode 100644
index 847226699..000000000
--- a/doc/bugs/data_loss_with___34__git_annex_add__34___on_android_in_direct_mode_/comment_5_e828585e56b10710598143483ce362b6._comment
+++ /dev/null
@@ -1,12 +0,0 @@
-[[!comment format=mdwn
- username="http://joeyh.name/"
- nickname="joey"
- subject="comment 5"
- date="2013-04-04T16:03:50Z"
- content="""
-I'll close the bug.
-
-FWIW, I developed git-annex on an Android device with such an emulated filesystem for /sdcard. It's a FUSE filesystem with a terrible implementation. I found multiple syscalls that just failed, and was careful to avoid using them.
-
-Personally, the benefits of non-crippled filesystem do not seem worth the bother of doing what you're doing..
-"""]]