[PLUG] iPod with Linux?
John Jordan
johnxj at comcast.net
Mon Jul 4 04:00:17 UTC 2005
On 3 Jul 2005, at 20:20, Eric Wilhelm wrote:
> >I have a folder in the panel to view it, so I
> >launched to folder. It opened a window, which suddenly blinked and
> >then displayed the fact that it was unable to view anything. While
> >pondering this, suddenly the iPod came up. I guess USB takes a moment
> >to initialize. Or maybe it was waiting on the HD in the iPod.
>
> No, that's probably your automounter seeing the new device and
> mounting it. Do (as root) "tail -f /var/log/messages" while you plug
> it in and you might see what the automounter is doing (probably starts
> with something about hotplug sda<num> and etc.)
OK, that was interesting. Here is what happened when I plugged it in:
Jul 3 20:38:45 localhost kernel: usb 3-2: new high speed USB device using
ehci_ hcd and address 7
Jul 3 20:38:45 localhost kernel: scsi4 : SCSI emulation for USB Mass Storage
devices
Jul 3 20:38:46 localhost usb.agent[22569]: usb-storage: already loaded
Jul 3 20:38:50 localhost kernel: Vendor: Apple Model: iPod Rev: 1.62
Jul 3 20:38:50 localhost kernel: Type: Direct-Access ANSI SCSI
revision: 00
Jul 3 20:38:50 localhost kernel: SCSI device sda: 117210240 512-byte hdwr
sectors (60012 MB)
Jul 3 20:38:50 localhost kernel: sda: Write Protect is off
Jul 3 20:38:50 localhost kernel: SCSI device sda: 117210240 512-byte hdwr
secto rs (60012 MB)
Jul 3 20:38:50 localhost kernel: sda: Write Protect is off
Jul 3 20:38:50 localhost kernel: /dev/scsi/host4/bus0/target0/lun0: [mac] p1 p
2 p3
Jul 3 20:38:51 localhost kernel: Attached scsi removable disk sda at scsi4,
channel 0, id 0, lun 0
Jul 3 20:38:51 localhost scsi.agent[22620]: sd_mod: loaded sucessfully
Jul 3 20:38:52 localhost kernel: HFS-fs: Filesystem is marked locked,
mounting read-only.
The interesting part is the very last line. Could Apple have locked the filesystem
somehow so that only iTunes can write to it?
I note that others have said they are able to use the HFS+ filesystem and write to
it. But I also know that Apple is constantly making changes to the iPods, sort of
slip-streaming them in without saying anything. And I bought this just last week
from a store with a pretty high turnover rate.
> As for the directory structure looking different, what is in
> your /etc/fstab now? (btw, you didn't really need to remove the usb
> line (but for the sake of simplicity, you could comment (start the
> line with #) it out.)
Actually, to save typing I just edited it to be the iPod line. :)
Now it says:
/dev/sda3 /media/iPod auto rw,user,noauto 0 0
So the mount point is still /media/iPod. Or should it be just /media? Maybe that's
what's wrong. Except those files were never visible before, even going deep into the
folders.
More information about the PLUG
mailing list