Active Topics

 


Reply
Thread Tools
Posts: 32 | Thanked: 2 times | Joined on Jul 2007
#1
I have a (deeply nested) directory on an SDHC card that is maintained via subversion. I encountered problems with some files (my own screw-ups with svn consistency), so built a new version of the directory from the repository. Now I just want to delete the old version, but don't seem to be able to. 'rm -f -r *' while root got rid of most, but two quite large nested directories remain. The files that can't be removed have ownership user:root and permissions 644. When I try to remove them, each file gives the message
rm: cannot remove <filename>: Read-only file system
yet the problem is clearly not an RO FS, because other files in the file system were removed with no problems.
Does anyone have any clues:
.what is actually happening?
.what can be done about it?
TIA for any help.

In case it's relevant:
N800
OS2008
8GB SDHC card, default formatted (I think that's FAT16, right?)
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#2
Did you fsck the filesystem?
 

The Following User Says Thank You to maacruz For This Useful Post:
Posts: 32 | Thanked: 2 times | Joined on Jul 2007
#3
Thanks; I tried it, but fsck didn't find any problems. In the end, I think it's some level of incompatibility between svn and FAT16. The solution for me was to re-format the card with a 2G FAT16 partition (needed sometimes for transferring files to mac and W&*@#) and a 6G ext3 (I know this isn't generally recommended because journaling can 'wear out' a card; I'd still prefer to have the security, and to buy a new card now and then).
 

The Following User Says Thank You to urilabob For This Useful Post:
Reply

Tags
locked files, read-only file system, sdhc card


 
Forum Jump


All times are GMT. The time now is 02:10.