maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [SOLVED] How do I delete a read-only folder ? (https://talk.maemo.org/showthread.php?t=64746)

lunat 2010-10-31 17:05

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by RenaldoTT (Post 858650)
I looked at /dev/mmcblk0p1 and mmcblk0p1 is 0bytes large. Is this normal?

also there is a broken symlink called core...
hmmmm

1. please leave everythin in /dev as it is.
2. did you do what i say? what was the response?

lunat 2010-10-31 17:08

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by retsaw (Post 858678)
Yes, it isn't a real file, just a pointer to a block device.

hey! you were right it is mounted ro.

RenaldoTT 2010-11-01 00:36

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by retsaw (Post 858678)
Yes, it isn't a real file, just a pointer to a block device.

I've got that too, it points to a file in the /proc directory which is dynamically generated by the kernel. Maybe it is related to a change made in Titan's kernel (the power kernel). I wouldn't worry about it though.

So are you still unable to delete that directory? Maybe you should try doing the filesystem check on the N900 if Windows didn't fix anything (I promise it won't take as long as the Windows scan did). Have you tried deleting your problem folder when it is mounted on your Windows PC?

Yes I tried deleting it from the PC itself but with no luck, infact the file will appear to be deleted but when I go back into the folder it reappears, anyway, I'm not going to worry about this much anymore, there are 30files in the folder so I'll just delete one before every powerdown instead of going through all the trouble of running the scan, and having read that it can shorten/damage my internal memory ...... yea a stupid non easy deletable folder is nothing compared to a scewed up file system, I still think nothing is wrong with the sytem.

RenaldoTT 2010-11-01 00:39

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by lunat (Post 858681)
1. please leave everythin in /dev as it is.
2. did you do what i say? what was the response?

na I didn't, but I thank you for your patience and help.

lunat 2010-11-01 00:49

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by RenaldoTT (Post 859119)
na I didn't, but I thank you for your patience and help.

so be it.
the way to change it is not to check somthing on the pc. the way to do it is to fix the damaged thing and if you go on like that you won't get the disk working. it is not your files that are damaged. it is the whole filesystem.

but have it your way.

WereCatf 2010-11-01 01:14

Re: How do I delete a read-only folder ?
 
I am sorry to butt in the conversation, but already from the first post in the whole thread it was crystal clear that the issue is filesystem corruption.

To OP: turn off ALL extra applications, including any instant messengers and all on your phone, then open x terminal and type the following there:

root
umount /dev/mmcblk0p1
fsck.vfat -aw /dev/mmcblk0p1
reboot

This should bring it back to life, unless the 'umount' command gives an error about open files. If you have any open files there you need to close them all before doing this.

RenaldoTT 2010-11-01 01:21

Re: How do I delete a read-only folder ?
 
For some reason I think WereCatf advice might work.
But just so I'm clear on what I'm doing, what does fsck.vfat -aw /dev/mmcblk0p1 do exactly? and there is a space between the "." and "v" right

WereCatf 2010-11-01 01:27

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by RenaldoTT (Post 859137)
what does fsck.vfat -aw /dev/mmcblk0p1 do exactly?

It checks the filesystem and repairs any damage it can repair. Don't worry, it should only take a few minutes at most.

Quote:

and there is a space between the "." and "v" right
No, it looks like that because of the forums, but "fsck.vfat" is all written together. No space there.

Good luck with your phone :)

sjgadsby 2010-11-01 01:29

Re: How do I delete a read-only folder ?
 
Quote:

Originally Posted by RenaldoTT (Post 859137)
...what does fsck.vfat -aw /dev/mmcblk0p1 do exactly?

filesystem check, VFAT version, automatically correcting errors and writing changes immediately

Quote:

and there is a space between the "." and "v" right
No, there is not.

RenaldoTT 2010-11-01 01:35

Re: How do I delete a read-only folder ?
 
Thanks guys, will try and see what happens


All times are GMT. The time now is 03:39.

vBulletin® Version 3.8.8