>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Symbian phones
> Technical: What's the MS Sector size?
Bookmark topic
Hi
I'm improving my SIS Tool aplication.
I'm trying to create a realistic occupied space after installation.
For that I need to round the file sizes to the sector size above it.
Can anyone tell me what are the most common sector sizes for MemorySticks 64/128/256/512 MB/1 GB?
And what about the internal memory?
I can't seem to find this information anywhere...
BTW, SIS Tool is here:
http://sistoolse.hollosite.com/
[ This Message was edited by: _LAU_ on 2004-12-21 18:37 ]
--
Posted: 2004-12-21 19:37:26
Edit :
Quote
It will all be here ...... somewhere .....
http://www.memorystick.org/eng/e-index.html
--
Posted: 2004-12-21 21:08:13
Edit :
Quote
I haven't found the information anywhere.
After a long search in the newsgroups I've gathered this information from several sources:
MemoryStick 4 mb and 8 mb => Sector is 8 kb
MemoryStick 16 mb to 256 mb => Sector is 16 kb
MemoryStick 512 mb and above => Sector is 32 kb
Couldn't find any information about the internal memory Sector size.
Anyone can confirm these numbers?
--
Posted: 2004-12-22 13:22:17
Edit :
Quote
why do u wanna know? do u plan on building some sort of program that has something to do with this?
--
Posted: 2004-12-22 18:01:58
Edit :
Quote
Read his first post...
"I'm improving my SIS Tool".
Great job _LAU_!
_________________
This message was posted by a Genius
[ This Message was edited by: Krubach on 2004-12-22 17:06 ]
--
Posted: 2004-12-22 18:06:26
Edit :
Quote
Thanks for your interest.
I have an application (http://sistoolse.hollosite.com) that calculates the amount of space and installed sis file will take after installed, but in reality is too optimistic because the reported space is in bytes.
I hope in the next version to have the reported space rounded to sectors, which is much closer to the truth.
--
Posted: 2004-12-22 18:08:04
Edit :
Quote
If you want to find out the sector size on the handset can I suggest this simple experiment:
0) Check the free space on the P9xx
1) Create a load of small (e.g. 2-byte) files in a directory on your PC
2) Copy them into a new directory on the P9xx
3) Repeat step 2 until the P9xx reports being full up
4) Multiply the number of dir#s by the files in each
5) Divide the space used (from step 0) by the # files.
I would imagine it's quite small, say 512 bytes or 1kb, but it
would be interesting to compare the P900 and P910 which
have different ROMs, and could quite easily differ.
--
Posted: 2004-12-23 11:17:30
Edit :
Quote
On the P910i it's 1024 bytes.
In fact you only need to create then delete 100 or so files and check the difference between the properties/free space.
Don't forget the directory overhead.
- Adam
--
Posted: 2004-12-23 11:29:49
Edit :
Quote
@aq
Thank you for the suggestion.
I tried to make a test, but I didn't found a tool that reported the free space on C: in *bytes*, only MegaBytes.
In my oppinion a single file of 0 bytes is enough. If I could read the free space in bytes, i was expecting the free space to decrease by 16 K or so.
Are you sure the sector size in internal memory (C:) it's 1 K!?
I thinks it's not possible to store a 64 MB memory in a FAT16 using 1 KB sectors...
--
Posted: 2004-12-23 12:48:25
Edit :
Quote
Yeah I stored - then deleted - 100 * 1 byte files.
The difference in reported free space was 102400 bytes.
That suggests that the cluster size is down there at 1024 bytes.
Also - this is exactly what you need to use for your rounding-up
calculation. You might need to add in a bit more for any
new directories that the app creates on installation.
Do you know for sure the P9xx uses FAT on the C: drive?
As it's symbian it doesn't have to, although I agree it's a
logical choice...
Also, 64MB/1024b is 65535 sectors, so the sector number is a 16-bit quantity, so that kind of hangs together.
--
Posted: 2004-12-23 16:58:02
Edit :
Quote
New Topic
Reply