Jaký souborový systém pro Windows, Mac a Linux

JardaP .

  • *****
  • 11 064
    • Zobrazit profil
    • E-mail
Re: Jaký souborový systém pro Windows, Mac a Linux
« Odpověď #15 kdy: 02. 07. 2010, 18:20:42 »
Jinak na destroy partition tabulky staci promazat prvnich 512b

Mam obavy, ze ne. USB flash muze byt formatovan s partition table nebo bez, tedy lze formatovat treba /dev/sda nebo /dev/sda1. Pokud tedy mate napriklad Ext3 na /dev/sda1 a chcete z toho udelat FAT na /dev/sda, budete muset promazat o kus dale. Jestli mi pamet slouzi, tak prave na tohle jsem nejak narazil, kdyz nekde asi Widle videly zbytky nejakych struktur, ktere sice nic neznamenaly, ale Widle si je vylozily po svem nebo co.


trubicoid2

Re: Jaký souborový systém pro Windows, Mac a Linux
« Odpověď #16 kdy: 04. 07. 2010, 12:37:28 »
je to tak jak rika Jarda, ten dd nema mazat boot sector a partition table, ale zacatek te dosove partition, zde pro zvydave cast man fdisk:


DOS 6.x WARNING
       The DOS 6.x FORMAT command looks for some information in the first sector of the data area  of  the
       partition,  and  treats this information as more reliable than the information in the partition ta‐
       ble.  DOS FORMAT expects DOS FDISK to clear the first 512 bytes of the data  area  of  a  partition
       whenever  a size change occurs.  DOS FORMAT will look at this extra information even if the /U flag
       is given -- we consider this a bug in DOS FORMAT and DOS FDISK.

       The bottom line is that if you use cfdisk or fdisk to change the size  of  a  DOS  partition  table
       entry,  then  you  must  also use dd to zero the first 512 bytes of that partition before using DOS
       FORMAT to format the partition.  For example, if you were using cfdisk to make a DOS partition  ta‐
       ble entry for /dev/sda1, then (after exiting fdisk or cfdisk and rebooting Linux so that the parti‐
       tion table information is valid) you would use the command  "dd  if=/dev/zero  of=/dev/sda1  bs=512
       count=1" to zero the first 512 bytes of the partition.

JardaP .

  • *****
  • 11 064
    • Zobrazit profil
    • E-mail
Re: Jaký souborový systém pro Windows, Mac a Linux
« Odpověď #17 kdy: 04. 07. 2010, 18:17:37 »
trubicoid2: Aha, diky za vysvetleni. Ja to mel tak nejak vyzkousene, ale o pravych duvodech jsem nemel tuseni. Samozrejme, clovek ma manual pod nosem, ale to by lidi museli cist manualy, zejo.

Inkvizitor

Re: Jaký souborový systém pro Windows, Mac a Linux
« Odpověď #18 kdy: 05. 07. 2010, 21:05:36 »
Nemám vyzkoušeno, protože pod Linuxem i Windows mi chodí NTFS v pohodě, ale řekl bych, že řešením by mohlo být UDF. Nějaká diskuse kolem je třeba tady: http://serverfault.com/questions/55089/with-what-tool-should-i-format-a-hard-drive-as-udf

trubicoid2

Re: Jaký souborový systém pro Windows, Mac a Linux
« Odpověď #19 kdy: 06. 07. 2010, 10:00:36 »
no XP pry na udf nezapisuji, vista uz ano a MacOS 10.4 taky nezapisuje, 10.5 uz ano:

http://en.wikipedia.org/wiki/Universal_Disk_Format#Table_of_operating_systems