2008-03-19 15:19:46     8.3 Filename Issue on Compact Flash

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-03-19 15:19:46     8.3 Filename Issue on Compact Flash

David Kasper (UNITED STATES)

Message: 52768   

 

Does anybody know if a Compact FLASH can be mounted as ext2?  When I try to do this I get a fail message when typing "mount -t ext2 /dev/hda1 /mnt/cf -o rw" at the shell.

 

I have partitioned hda1 as type 83 but it gets mounted as msdos if I leave out the "-t" above.  My main issue is file names are limited to 8.3 format in msdos.

 

Thanks,

 

David Kasper

QuoteReplyEditDelete

 

 

2008-03-19 16:15:30     Re: 8.3 Filename Issue on Compact Flash

Robin Getz (UNITED STATES)

Message: 52770    David:

 

I think vfat should work for you.

 

But, I don't know of a reason why CF cards can not be mounted as ext2

QuoteReplyEditDelete

 

 

2008-03-19 16:42:23     Re: 8.3 Filename Issue on Compact Flash

Mike Frysinger (UNITED STATES)

Message: 52772    fdisk doesnt really matter ... that is just a hint to programs as to what filesystem is on there.  if you didnt actually format it as ext2, it wont work.

 

if you dont specify -t, then mount will attempt every filesystem sequentially according to /proc/filesystems.  since msdos is listed before vfat, that is the filesystem that gets mounted and thus you are limited to 8.3 filenames.

QuoteReplyEditDelete

 

 

2008-03-19 16:50:37     Re: 8.3 Filename Issue on Compact Flash

David Kasper (UNITED STATES)

Message: 52775   

 

Mike,

 

I am new to this.  What should I use to format the Compact Flash?  Should I try Partition Magic or is there another method on Linux?

 

Thanks,

 

David Kasper

QuoteReplyEditDelete

 

 

2008-03-19 17:04:27     Re: 8.3 Filename Issue on Compact Flash

Mike Frysinger (UNITED STATES)

Message: 52776    the utilities to format generally start with "mkfs." ... so if you want to format as ext2, you run `mkfs.ext2 ....`

QuoteReplyEditDelete

 

 

2008-03-19 18:50:23     Re: 8.3 Filename Issue on Compact Flash

David Kasper (UNITED STATES)

Message: 52783   

 

Mike,

 

Got it working.

 

Thanks for your help!

Attachments

    Outcomes