The Following 2 Users Say Thank You to Wikiwide For This Useful Post: | ||
![]() |
2015-01-03
, 17:05
|
|
Posts: 1,310 |
Thanked: 820 times |
Joined on Mar 2006
@ Irving, TX
|
#1752
|
![]() |
2015-01-03
, 18:50
|
Posts: 28 |
Thanked: 46 times |
Joined on Dec 2014
|
#1753
|
![]() |
2015-01-03
, 20:48
|
Posts: 28 |
Thanked: 46 times |
Joined on Dec 2014
|
#1754
|
![]() |
2015-01-03
, 21:19
|
Posts: 28 |
Thanked: 46 times |
Joined on Dec 2014
|
#1755
|
![]() |
2015-01-04
, 00:34
|
|
Posts: 1,310 |
Thanked: 820 times |
Joined on Mar 2006
@ Irving, TX
|
#1756
|
It seems it got lost here:
https://gitorious.org/community-ssu/...3125ee72f123de
My /etc/default/mount-opts:
# Options for mounting user's filesystems
home_opts="rw,noatime,errors=continue,commit=1,dat a=writeback"
fat_opts="noauto,nodev,noexec,nosuid,noatime,nodir atime,utf8,uid=29999,shortname=mixed,dmask=000,fma sk=0133,rodir"
So I am missing common_opts and the fat_opts doesn't match the vfat filesystem, possible fix:
--- mount-opts.orig 2013-08-20 22:25:37.000000000 +0200
+++ mount-opts 2015-01-03 22:18:20.000000000 +0100
@@ -2,3 +2,4 @@
home_opts="rw,noatime,errors=continue,commit=1,dat a=writeback"
fat_opts="noauto,nodev,noexec,nosuid,noatime,nodir atime,utf8,uid=29999,shortname=mixed,dmask=000,fma sk=0133,rodir"
+vfat_opts="$fat_opts"
![]() |
2015-01-04
, 01:07
|
Posts: 28 |
Thanked: 46 times |
Joined on Dec 2014
|
#1757
|
I was able to get write access working by either mounting manually MyDocs using dmask=000 and fmask=000 options.
I also tried using only option uid=29999 that seems to work as well.
It does look like the mmc-mount script is not able to utilize any of the vfat-opts from mount-opts?
vfat_opts="$fat_opts"
(If you try "mount | grep MyDocs" this should show all options that were used when MyDocs was mounted?)
grep MyDocs /proc/mounts
![]() |
2015-01-04
, 02:43
|
|
Posts: 1,310 |
Thanked: 820 times |
Joined on Mar 2006
@ Irving, TX
|
#1758
|
This is not correct solution.
This is correct one.
I think there are probably two bugs:
1. The uid=29999 was previously explicitly added by mmc-mount (the ke-recv component), it is not added any more. I think it could be re-added, because it may save many people from trouble.
2. It seems that /etc/default/mount-opts has options for "fat", not "vfat", so the options are never added to "vfat" (i.e. fat32) filesytem. And this is problem, because the options are no more explicitly added by mmc-mount. To fix it just add the following to /etc/default/mount-opts:
Or just change "fat" to "vfat", if you are never going to use fat16.Code:vfat_opts="$fat_opts"
This doesn't show all options, rather try:
Code:grep MyDocs /proc/mounts
![]() |
2015-01-05
, 07:35
|
Posts: 123 |
Thanked: 268 times |
Joined on Dec 2009
@ Helsinki, Finland
|
#1759
|
The Following User Says Thank You to Tsippaduida For This Useful Post: | ||
![]() |
2015-01-05
, 08:02
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#1760
|
For me, it was truncating files to 0, aka deleting anything that screamed 'broken' at it. Hence, I lost all the files, which looked remotely corrupted - so that the filesystem would be not-corrupted.
But then, there can be different types of damage, I reckon.
There are three 'partitions' as far as I remember: Rootfs, Home, and MyDocs.
I had trouble only with MyDocs. Only because I was careless enough to copy over some corrupted files from a corrupted SD card.
Best wishes.