OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: niv on June 26, 2005, 03:21:31 pm

Title: Any Idea How To Chkdsk In Linux?
Post by: niv on June 26, 2005, 03:21:31 pm
well obviosly it wasnt a good idea to use a 32Mb MMC.
I quickly filled it up.
stuff started looking wierd - then I realized why.

I deleted all the smb bin. any way to check the filesystem - 2 see I don't have any problems?

Niv
Title: Any Idea How To Chkdsk In Linux?
Post by: Pyrates on June 26, 2005, 03:28:15 pm
The command is "fsck". Typing "man fsck" will tell you more (if you have manpages installed, probably not on a Z; google will help ). Of course, it might just be that you have to install fsck first...

Cheers
Philipp
Title: Any Idea How To Chkdsk In Linux?
Post by: niv on June 26, 2005, 03:34:12 pm
10x mate
I found a bounce of other stuff on google.

no it seems funny, in order to fix the filesystem I need to install a new bin, thus make more problems
oh well maybe install to ram...
by the way, odd thing, I got the whole 32Mb stuff by:
0. moving the /opt to sd (14 MB)
1. adding connect + support
2. installing nano (which still aint working)
3. qpdf2

so I gather I should be looking to get 256 Mb - just for the applications?
Title: Any Idea How To Chkdsk In Linux?
Post by: Pyrates on June 26, 2005, 06:46:26 pm
Sorry, I don't understand what the question is now... I gather you don't have fsck (which ROM are you using?), so you'd have to install it, RAM sounds like a good idea. 32 MB is plenty space for applicatioins for me, what do you mean by "connect+support"? I'm not sure it matters, but you're asking for "looking to get 256", you mean like buying a new card?

Sorry, I'm not a native speaker, so...

Cheers
Philipp
Title: Any Idea How To Chkdsk In Linux?
Post by: niv on June 26, 2005, 06:56:38 pm
Quote
Sorry, I don't understand what the question is now... I gather you don't have fsck (which ROM are you using?), so you'd have to install it, RAM sounds like a good idea. 32 MB is plenty space for applicatioins for me, what do you mean by "connect+support"? I'm not sure it matters, but you're asking for "looking to get 256", you mean like buying a new card?

Sorry, I'm not a native speaker, so...

Cheers
Philipp
[div align=\"right\"][a href=\"index.php?act=findpost&pid=85947\"][{POST_SNAPBACK}][/a][/div]

I did this steps:

note: mmc=sd (/media/card)

0. flash 3.5.3
1. cp -a /opt /media/card ; rm -rf /opt ; ls -s /media/card /opt
that moved 14 mb -> mmc
2. install hostap-modules so my wifi card work. install is to mmc.
3. ipkg install nano -d sd
4. ipkg install qpdf2 -d sd
5. df

mmc is 100% full
Title: Any Idea How To Chkdsk In Linux?
Post by: Pyrates on June 27, 2005, 03:56:14 am
Hmm, dunno. Do "cd /media/card" and then "du -h --max-depth=1" to find the dirs which use up the space. Add, and see if it's right (this doesn't count the files that are not in a subdir of /media/card). Maybe there were dependencies installed... did you do a df -h when there was nothing on the card to make sure the whole space is available for you?

Cheers
Philipp
Title: Any Idea How To Chkdsk In Linux?
Post by: JohnX on June 29, 2005, 01:14:13 am
niv: IIRC, / (ie, /dev/mtdblock4) is formatted as a jffs2 filesystem, and therefore is compressed.  So once you copy the files out of it they may take up more than the 12.9MB that the jffs2 fs occupies on mtdblock4
Title: Any Idea How To Chkdsk In Linux?
Post by: niv on June 29, 2005, 02:20:47 am
Thanks JohnX,
didn't know that,
As I odered 512M SD @20$ (http://www.buy.com/retail/product.asp?sku=10335061&adid=17662) I will have the room needed.

I will copy /opt as described. I notice I need to add the path and lib path to the .profile - so programs will run.
any other hints?