public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Curtis Gedak <gedakc@gmail.com>
To: Phillip Susi <psusi@ubuntu.com>, Karel Zak <kzak@redhat.com>
Cc: Marc MERLIN <marc@merlins.org>, util-linux@vger.kernel.org
Subject: Re: Severe fdisk problem leading to data loss?
Date: Wed, 27 Nov 2013 13:23:43 -0700	[thread overview]
Message-ID: <529654CF.1010904@gmail.com> (raw)
In-Reply-To: <5296515A.1070505@ubuntu.com>

On 13-11-27 01:08 PM, Phillip Susi wrote:
> On 11/27/2013 2:58 PM, Curtis Gedak wrote:
>> Unfortunately at least one company produces devices that have
>> partitions with ID set to 0, yet these same partitions contain
>> data.
>>
>> An Apple iPod Shuffle is such an example as shown in the following
>> fdisk output:
> Wow, what is in there?  And more hilariously, what happens when you
> plug the thing into a Windows machine and try to create a partition in
> the "free space"?
>
> Also, I thought iPods don't use the USB MASS STORAGE protocol so they
> don't show up as a block device at all; you have to use iTunes to
> access them.

IIRC, the partition with ID = 0 contains the firmware for the Apple 
iPod.  The device is recognized in GNU/Linux, and files can be copied to 
and from the FAT partition.  However, since the iPod firmware uses a 
database to keep track of songs, only songs transferred to the device 
using "iPod aware" software will be seen by the iPod music player.  
Amarok is an example of a native GNU/Linux application that is iPod aware.

IMHO Apple's choice of using an ID of zero for the firmware partition is 
a poor decision.  With that being said, these devices with this strange 
ID setting do exist in the real world.

Curtis


  reply	other threads:[~2013-11-27 20:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20131118102051.GA31813@merlins.org>
2013-11-24 13:52 ` Severe fdisk problem leading to data loss? Marc MERLIN
2013-11-25 10:31   ` Karel Zak
2013-11-25 11:59     ` Marc MERLIN
2013-11-27 14:46     ` Phillip Susi
2013-11-27 14:58       ` Karel Zak
2013-11-27 18:25         ` Phillip Susi
2013-11-27 19:58           ` Curtis Gedak
2013-11-27 20:08             ` Phillip Susi
2013-11-27 20:23               ` Curtis Gedak [this message]
2013-11-27 21:05                 ` Phillip Susi
2013-11-27 21:07                   ` Curtis Gedak
2013-11-27 23:02                   ` Ángel González
2013-11-27 20:07           ` Karel Zak
2013-11-27 20:19             ` Phillip Susi
2013-11-27 21:09               ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529654CF.1010904@gmail.com \
    --to=gedakc@gmail.com \
    --cc=kzak@redhat.com \
    --cc=marc@merlins.org \
    --cc=psusi@ubuntu.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox