Welcome, Guest. Please login or register.

Author Topic: Question - Minimig SD card  (Read 5788 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Question - Minimig SD card
« on: May 15, 2009, 03:51:54 PM »
Most SD cards are formatted to only accept upto 511 root directory entries. Does MiniMig support more than that?

If not you're only able to use about 439MB (880KB * 511) of the SD card anyway.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Question - Minimig SD card
« Reply #1 on: May 15, 2009, 04:38:03 PM »
Someone should try http://linux.die.net/man/8/mkdosfs -r option, say 32736. If minimig supports it, then you can have upto 32736 files.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Question - Minimig SD card
« Reply #2 on: May 15, 2009, 05:10:03 PM »
@wolfchild
Quote
This applies to the Minimig too. Maximum number of files is 511

So this is hardcoded to Minimig? Too bad, as FAT actually supports upto 32735.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Question - Minimig SD card
« Reply #3 on: May 15, 2009, 08:54:27 PM »
Quote
It's not hardcoded, the number of root directory entries is read from the boot sector. Should work with any valid number. The default value for FAT16 volumes is 512 and most common formatting utilities do not allow to change it.

But linux format tools specifically allow this, so why not give it a try?

Since most users are indeed limited by the actual number of the directory entries it would seem wise to try it. Say with 2GB SD mkfs.vfat ... -r 2400 ... this should allow use of the whole disk capacity for ADFs.