From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 22:45:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A4FC16A420 for ; Fri, 4 Nov 2005 22:45:15 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id A960543D5F for ; Fri, 4 Nov 2005 22:45:07 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout7.cac.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id jA4Mj6jm009425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 4 Nov 2005 14:45:07 -0800 X-Auth-Received: from [128.208.4.242] (nilakantha.cs.washington.edu [128.208.4.242]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id jA4Mj5Sm026277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 4 Nov 2005 14:45:06 -0800 Message-ID: <436BE471.9010907@u.washington.edu> Date: Fri, 04 Nov 2005 14:45:05 -0800 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4363DE04.4010206@wanadoo.fr> <720051dc0510291436n6fb44acdy9423723ae4086425@mail.gmail.com> <436BCDEF.2050709@wanadoo.fr> In-Reply-To: <436BCDEF.2050709@wanadoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Mounting an iPod X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 22:45:15 -0000 edward wrote: > Assistance welcome, James. I finally gave up trying to mount the iPod > as an HFS+ device and reformated it in FAT32. Now I can mount it and > access its content (I use mount -t msdos /dev/da0s2 /mnt/ipod). > However, I can unmount it using umount /mnt/ipod, but I'm not quite > sure how to get it to understand its not connected anymore. I wouldn't > mind taking a look at the scripts you mentionned early on. > "The camcontrol utility can cause a loss of data and/or system crashes > if used improperly. Even expert users are encouraged to exercise > caution when using this command. Novice users should stay away from > this utility" says the man page. With such an invitation, I can't wait > to get my hands into this one :). > Thanks, > Edward > > James Seward wrote: > >> On 10/29/05, edward wrote: >> >>> The iPod uses an HFS+ file system. It's been loaded from a Mac. >>> I would like to mount it to /mnt/ipod >> >> >> >> A quick Google suggests you can try >> http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD, >> otherwise you're going to have to reformat your iPod for Windows and >> then mount it as FAT. >> >> I then added this line: >> /dev/da0s2 /ipod msdos rw,noauto >> 0 0 >> >> to my fstab, and wrote myself a little ipod script I can use to mount >> and umount/eject it. >> >> To mount it it just mounts /ipod, and to eject it, i umounts /ipod and >> then calls camcontrol eject on the right device ID to eject it (so the >> iPod stops thinking it's connected). >> >> I can offer further assistance with the 2nd half but not the 1st half >> of this :) >> >> /JMS > Edward, You can use camcontrol to reset the device, which will make it think that it has been removed, ie the little checkmark will show up on the screen and the hard disk will spin down. See man camcontrol for details. -Garrett