hal-0.5.11-alt14.M41.1 in Desktop 4.1 I inserted a USB flash memeory, and mounted it through the KDE menu. It has been mounted like this: /dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,flush,uid=500,utf8,shortname=lower,fmask=117,quiet) and this makes git-1.5.5.5-alt1 fail because it is sensitive to the case of .git/HEAD: $ strace -fF git status ... getcwd("/media/disk/my/mordvin/compilations"..., 4096) = 36 access(".git/objects", X_OK) = 0 access(".git/refs", X_OK) = 0 lstat64(".git/HEAD", 0xbfa25644) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 write(2, "fatal: Not a git repository\n"..., 28fatal: Not a git repository ) = 28 exit_group(128) = ? Process 12165 detached $ Suggestion: shortname=winnt seems to be the most sensible option.
Workaround: add to /etc/fstab: /dev/sdb1 /mnt/usbmem1 vfat user,rw,nosuid,nodev,noatime,flush,uid=500,utf8,shortname=winnt,fmask=117,quiet 0 0 and use it.
This isn't so on Lite 4.0.3: there, I was able to mount the USB memory through XFCE, and then use git on it.
hal не занимается монтированием, он предоставляет только интерфейс для этого. опции монтирования определяет то что пользуется этим интерфейсом