The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
creating new filesystem seyiisq SUN Solaris 4 12-01-2008 06:33 PM
filesystem size freeman AIX 5 11-25-2008 01:49 AM
How to correctly allocate size while creating FileSystem panchpan SUN Solaris 7 12-03-2007 11:25 PM
Creating a shared filesystem aldowsary AIX 8 01-17-2007 04:43 AM
Creating a shell script to check filesystem space heprox AIX 10 06-18-2006 10:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-02-2009
archayl's Avatar
archayl archayl is offline
Registered User
  
 

Join Date: Mar 2009
Location: Malaysia
Posts: 3
Creating filesystem of 2MB size

Hi all,

I would like to ask on how to create 2MB partition on a Compact Flash card. It supposed to be of FAT12 type, and the CF capacity is 4GB. I try to do the partitioning and specify the size as 2MB but the partition editor automatically resize it to 8MB. I know that this is possible and the resulting filesystem can be read by Linux because I have one copy of CF of different capacity in my hand. I used fdisk, cfdisk, and parted (which I thought should be out of consideration). Is there any other tools or option recommended?

Thanks.
  #2 (permalink)  
Old 03-06-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
FAT12 can only handle 32 MB. If you look at the Wikipedia article, you'll see that you need two partitions of 2 GB in FAT16, or one FAT32 partition.
  #3 (permalink)  
Old 03-06-2009
archayl's Avatar
archayl archayl is offline
Registered User
  
 

Join Date: Mar 2009
Location: Malaysia
Posts: 3
Thanks for the info. But I'm a bit confused. I wanted to make the 1st 2MB partition. The rest will be ext2 or ext3 partition(s), which known to not have problem with large sizes. The only thing that is making trouble here is the 2MB FAT12 partition. I'm not formatting large partitions with FAT12 filesystem. Can I have any further hints on this?

Thanks in advance.
  #4 (permalink)  
Old 03-06-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
What "partition editor" are you using?
  #5 (permalink)  
Old 03-06-2009
archayl's Avatar
archayl archayl is offline
Registered User
  
 

Join Date: Mar 2009
Location: Malaysia
Posts: 3
I used fdisk for linux. It's the closest one to getting the result, but somehow, the partition created can't be read by linux. Partitioning by block doesn't allow smaller than 8MB. But by sector, I can go through, but the result is non standard partition causing failure to read or write to the partition. Is there any issue on partitioning a Compact Flash card?
Closed Thread

Bookmarks

Tags
compact flash, filesystem, small partition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0