From: William Park on 19 Jan 2006 13:37 klee12 <klee12(a)alum.mit.edu> wrote: > Thanks to everyone for all their help. I think I got it working. Since > I got a new iPod there may have been some changes that not everyone is > aware of. > > First my ipod came with a USB connector and, I think, a vfat file > system out of the box. I plugged in my usb connector and did > > mount -t [hfsplus|vfat] /dev/[sda|sda1|sda2] /mnt/ipod > > in all combinations and vfat and dev/sda2 work. I think that was before > I put it on the PC. (By the way, does anyone know why it should by > dev/sda2 and not dev/sda1? Are the scsi device numbers related to the > usb port? Would not the scsi device numbers change if I used another > device that needed scsi emulation like the iPod?) iPod comes with 2 partitions, just like harddisk might. Try doing fdisk -l > iPod says do not disconnect. To be safe I rebooted, and discounted > right before bootup. I suspect that once /mnt/ipod had been dismounted > I could safely disconnect. Am I right? Is there some magical way to get Yes. To "eject" the device, eject /dev/sda > rid of the "do not dismount" warning. Itunes did it by clicking on > eject. -- William Park <opengeometry(a)yahoo.ca>, Toronto, Canada ThinFlash: Linux thin-client on USB key (flash) drive http://home.eol.ca/~parkw/thinflash.html BashDiff: Super Bash shell http://freshmeat.net/projects/bashdiff/
From: klee12 on 22 Jan 2006 03:58
Thanks Park, the eject command does it. In case some other poor soul reads this thread seeking enlightenment, the command works with a -s option, i.e. eject -s /dev/sda2 Thanks to all klee12 |