View Single Post
Old 04-10-2014, 08:21 AM   #20
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by TBennettcc View Post
Why I can't create a directory when I supposedly have read and write access to the filesystem?
In the case of your spoiler:
I do not see where you reformatted /var/local after zeroing its meta-information.
Note: a cold start (full re-boot) will detect the zero'd partition and format it for you.

Several common possibilities:
1) on a Kindle, the mntroot script only changes the / partition, not any other partitions (here, /var/local is on another partition).

That script is a very early lab126 screw-up, never been fixed.

The author did not know you can "mount -o remount,rw" a file system that is already rw (or conversely, "mount -o remount,ro" a file system that is already ro) without harm.

In general:
2) The file system or backing store does not support write operations (why you can't write to a cramfs (or other ro) file system; why you can't write to write protected media (flash in the case of the Kindle, for instance the u-boot part of flash is write protected and hardware locked)).

3) The file system is not mounted read-write.
Note: if mounted errors=ro, then a file system command that errors will switch it to ro.

4) No write permission for the current user to the parent directory.

Last edited by knc1; 04-10-2014 at 09:08 AM.
knc1 is offline   Reply With Quote