Re: Android and the 64 billion bytes question.

2013-10-10 Thread geoffrey mendelson


On 10/10/2013 8:50 AM, Ira Abramov wrote:

I also thought splitting the card into two 32G partitions could save me
from loosing more than one partition at once, if anything bad happens.


Unless it is a software error, it is unlikely that if one partition goes
on the card, the other will survive. Remember that memory cards are not
like disk drives. Data is not stored sequentially, but randomly and the
hardware keeps track of the location of it. This is so that sectors that
are often written such as the FAT (or the equivalent in that particular
file system) do not die quickly from being written to too often.

Geoff.

--
Geoffrey S. Mendelson 4X1GM/N3OWJ
Jerusalem Israel.




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-10 Thread shimi
On Thu, Oct 10, 2013 at 9:35 AM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:


 On 10/10/2013 8:50 AM, Ira Abramov wrote:

 I also thought splitting the card into two 32G partitions could save me
 from loosing more than one partition at once, if anything bad happens.


 Unless it is a software error, it is unlikely that if one partition goes
 on the card, the other will survive. Remember that memory cards are not
 like disk drives. Data is not stored sequentially, but randomly and the
 hardware keeps track of the location of it. This is so that sectors that
 are often written such as the FAT (or the equivalent in that particular
 file system) do not die quickly from being written to too often.



Unless the part of the media that got broke happens to be on your current
location of the File Allocation Table...  if memory serves me right,
there's no multiple copies of the superblock-ext-equivalent in FAT...

Flashback from the past: Problems in sector 0 on floppies :)

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-10 Thread geoffrey mendelson

On 10/10/2013 9:48 AM, shimi wrote:


Flashback from the past: Problems in sector 0 on floppies :)


I guess Peter Norton isn't Jewish. Or as a less obscure reference, the 
Norton Utilities to read the SECOND FAT did not make it to Israel.


Like a backup superblock, DOS has a backup FAT.

Geoff.

--
Geoffrey S. Mendelson 4X1GM/N3OWJ
Jerusalem Israel.


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-10 Thread shimi
On Thu, Oct 10, 2013 at 9:54 AM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:

 On 10/10/2013 9:48 AM, shimi wrote:


 Flashback from the past: Problems in sector 0 on floppies :)


 I guess Peter Norton isn't Jewish. Or as a less obscure reference, the
 Norton Utilities to read the SECOND FAT did not make it to Israel.

 Like a backup superblock, DOS has a backup FAT.


I stand corrected then. Does make me wonder how so much important stuff got
lost over the years if there are two copies (maybe they're at the same disk
area, and thus, was a lousy backup to begin with?) when only sector 0 got
bad (probably due to multiple writes on the same area...)

Still, I would prefer two partitions if switching between them is rather
easy. Personally I would probably instead buy two 32GB cards which is less
putting all your eggs in one basket, but that's not what the OP wants, it
seems :)
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Android and the 64 billion bytes question.

2013-10-09 Thread Ira Abramov
Now do you format a 64GB SDXC card to use with Android? the opinions on
the web are all over the place. some say it's OK to keep ExFat (it came
formatted) since it's pretty stable in FUSE and the Cyanogenmod supports
it. others say one should partition it down to two 32GB parts of Fat32
for compatibility with older OS in case you need to reset (also I found
my version of CWM does not read ExFAT). Others say ext2 is the way to
go, or ext3 (Windows machines won't support that easily, but I don't
care since I don't run one).

Basically it's a question of what FS is the most convenient, stable,
safe and speed-optimized for flash. The forums people argue but I feel
none of them have serious ways to back up their opinions. If you have
any facts or educated opinions, I'd be happy to learn.


-- 
World class chipmunk
Ira Abramov
http://ira.abramov.org/email/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-09 Thread Hetz Ben Hamo
Hi,

The ExFAT was invented by Microsoft specifically for such a removable
storage and support for flash cards with this sizes (it supports up to 64
ZB). Its fully supported under Android (Samsung wrote the kernel module, so
there's a native support for it), and you can grab the kernel module from
here:
https://github.com/dorimanx/exfat-nofuse

You can use ext3/ext4 (ext2 is a dog slow on SD) but then you'll have the
overhead of journaling, and you won't have any compatibility with any
Windows/Mac, in case you want to stick your card into such systems.

תודה,
*חץ בן חמו*
*חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי Linux
ופתרונות וירטואליזציה.
טלפון:  054-5297156
אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
[image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
*
*


2013/10/9 Ira Abramov lists-linux...@ira.abramov.org

 Now do you format a 64GB SDXC card to use with Android? the opinions on
 the web are all over the place. some say it's OK to keep ExFat (it came
 formatted) since it's pretty stable in FUSE and the Cyanogenmod supports
 it. others say one should partition it down to two 32GB parts of Fat32
 for compatibility with older OS in case you need to reset (also I found
 my version of CWM does not read ExFAT). Others say ext2 is the way to
 go, or ext3 (Windows machines won't support that easily, but I don't
 care since I don't run one).

 Basically it's a question of what FS is the most convenient, stable,
 safe and speed-optimized for flash. The forums people argue but I feel
 none of them have serious ways to back up their opinions. If you have
 any facts or educated opinions, I'd be happy to learn.


 --
 World class chipmunk
 Ira Abramov
 http://ira.abramov.org/email/

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-09 Thread Udi Finkelstein
Weren't there any patent issues with exFAT?

Udi



On Thu, Oct 10, 2013 at 2:09 AM, Hetz Ben Hamo h...@hetz.biz wrote:

 Hi,

 The ExFAT was invented by Microsoft specifically for such a removable
 storage and support for flash cards with this sizes (it supports up to 64
 ZB). Its fully supported under Android (Samsung wrote the kernel module, so
 there's a native support for it), and you can grab the kernel module from
 here:
 https://github.com/dorimanx/exfat-nofuse

 You can use ext3/ext4 (ext2 is a dog slow on SD) but then you'll have the
 overhead of journaling, and you won't have any compatibility with any
 Windows/Mac, in case you want to stick your card into such systems.

 תודה,
 *חץ בן חמו*
 *חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי
 Linux ופתרונות וירטואליזציה.
 טלפון:  054-5297156
 אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
 [image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
 *
 *


 2013/10/9 Ira Abramov lists-linux...@ira.abramov.org

 Now do you format a 64GB SDXC card to use with Android? the opinions on
 the web are all over the place. some say it's OK to keep ExFat (it came
 formatted) since it's pretty stable in FUSE and the Cyanogenmod supports
 it. others say one should partition it down to two 32GB parts of Fat32
 for compatibility with older OS in case you need to reset (also I found
 my version of CWM does not read ExFAT). Others say ext2 is the way to
 go, or ext3 (Windows machines won't support that easily, but I don't
 care since I don't run one).

 Basically it's a question of what FS is the most convenient, stable,
 safe and speed-optimized for flash. The forums people argue but I feel
 none of them have serious ways to back up their opinions. If you have
 any facts or educated opinions, I'd be happy to learn.


 --
 World class chipmunk
 Ira Abramov
 http://ira.abramov.org/email/

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-09 Thread Hetz Ben Hamo
Yes, there is, but just like with FAT, FAT32, NTFS, SMB etc - you won't see
Microsoft chasing Ubuntu, CentOS or Red Hat for royalties. MS is asking
royalties from the hardware vendors, not from you or your favorite
distribution.

BTW: Both Fedora and Ubuntu already support exfat.


תודה,
*חץ בן חמו*
*חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי Linux
ופתרונות וירטואליזציה.
טלפון:  054-5297156
אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
[image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
*
*


2013/10/10 Udi Finkelstein linux...@udif.com

 Weren't there any patent issues with exFAT?

 Udi



 On Thu, Oct 10, 2013 at 2:09 AM, Hetz Ben Hamo h...@hetz.biz wrote:

 Hi,

 The ExFAT was invented by Microsoft specifically for such a removable
 storage and support for flash cards with this sizes (it supports up to 64
 ZB). Its fully supported under Android (Samsung wrote the kernel module, so
 there's a native support for it), and you can grab the kernel module from
 here:
 https://github.com/dorimanx/exfat-nofuse

 You can use ext3/ext4 (ext2 is a dog slow on SD) but then you'll have the
 overhead of journaling, and you won't have any compatibility with any
 Windows/Mac, in case you want to stick your card into such systems.

 תודה,
 *חץ בן חמו*
 *חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי
 Linux ופתרונות וירטואליזציה.
 טלפון:  054-5297156
 אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
 [image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
 *
 *


 2013/10/9 Ira Abramov lists-linux...@ira.abramov.org

 Now do you format a 64GB SDXC card to use with Android? the opinions on
 the web are all over the place. some say it's OK to keep ExFat (it came
 formatted) since it's pretty stable in FUSE and the Cyanogenmod supports
 it. others say one should partition it down to two 32GB parts of Fat32
 for compatibility with older OS in case you need to reset (also I found
 my version of CWM does not read ExFAT). Others say ext2 is the way to
 go, or ext3 (Windows machines won't support that easily, but I don't
 care since I don't run one).

 Basically it's a question of what FS is the most convenient, stable,
 safe and speed-optimized for flash. The forums people argue but I feel
 none of them have serious ways to back up their opinions. If you have
 any facts or educated opinions, I'd be happy to learn.


 --
 World class chipmunk
 Ira Abramov
 http://ira.abramov.org/email/

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Android and the 64 billion bytes question.

2013-10-09 Thread Ira Abramov
Like I said, ExFAT is not an issue with my desktop, only with my CWM
recovery. it seems CyanogenMod have a CWM fused into their kernel, so if
I try to install a newer CWM or TWRP, I still get the older CWM that
won't support ExFAT.

I also thought splitting the card into two 32G partitions could save me
from loosing more than one partition at once, if anything bad happens.

Quoting Hetz Ben Hamo, from the post of Thu, 10 Oct:
 Yes, there is, but just like with FAT, FAT32, NTFS, SMB etc - you won't see
 Microsoft chasing Ubuntu, CentOS or Red Hat for royalties. MS is asking
 royalties from the hardware vendors, not from you or your favorite
 distribution.
 
 BTW: Both Fedora and Ubuntu already support exfat.
 
 
 תודה,
 *חץ בן חמו*
 *חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי Linux
 ופתרונות וירטואליזציה.
 טלפון:  054-5297156
 אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
 [image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
 *
 *
 
 
 2013/10/10 Udi Finkelstein linux...@udif.com
 
  Weren't there any patent issues with exFAT?
 
  Udi
 
 
 
  On Thu, Oct 10, 2013 at 2:09 AM, Hetz Ben Hamo h...@hetz.biz wrote:
 
  Hi,
 
  The ExFAT was invented by Microsoft specifically for such a removable
  storage and support for flash cards with this sizes (it supports up to 64
  ZB). Its fully supported under Android (Samsung wrote the kernel module, so
  there's a native support for it), and you can grab the kernel module from
  here:
  https://github.com/dorimanx/exfat-nofuse
 
  You can use ext3/ext4 (ext2 is a dog slow on SD) but then you'll have the
  overhead of journaling, and you won't have any compatibility with any
  Windows/Mac, in case you want to stick your card into such systems.
 
  תודה,
  *חץ בן חמו*
  *חץ ביז http://www.hetz.biz*-  שרותי פרילאנס לניהול ותחזוקת שרתי
  Linux ופתרונות וירטואליזציה.
  טלפון:  054-5297156
  אתם מוזמנים לבקר אותנו בבלוג היעוץ שלנו http://vps-consulting.info
  [image: גם אתר זה מתארח ב-חץ ביז שרתי VPS]
  *
  *
 
 
  2013/10/9 Ira Abramov lists-linux...@ira.abramov.org
 
  Now do you format a 64GB SDXC card to use with Android? the opinions on
  the web are all over the place. some say it's OK to keep ExFat (it came
  formatted) since it's pretty stable in FUSE and the Cyanogenmod supports
  it. others say one should partition it down to two 32GB parts of Fat32
  for compatibility with older OS in case you need to reset (also I found
  my version of CWM does not read ExFAT). Others say ext2 is the way to
  go, or ext3 (Windows machines won't support that easily, but I don't
  care since I don't run one).
 
  Basically it's a question of what FS is the most convenient, stable,
  safe and speed-optimized for flash. The forums people argue but I feel
  none of them have serious ways to back up their opinions. If you have
  any facts or educated opinions, I'd be happy to learn.
 
 
  --
  World class chipmunk
  Ira Abramov
  http://ira.abramov.org/email/
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


-- 
Straight from the hourse's mouth
Ira Abramov
http://ira.abramov.org/email/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il