From owner-freebsd-questions@FreeBSD.ORG  Fri Nov  4 22:09:37 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 8DB2316A41F
	for <freebsd-questions@freebsd.org>;
	Fri,  4 Nov 2005 22:09:37 +0000 (GMT)
	(envelope-from kouye@wanadoo.fr)
Received: from smtp10.wanadoo.fr (smtp10.wanadoo.fr [193.252.22.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1D71E43D49
	for <freebsd-questions@freebsd.org>;
	Fri,  4 Nov 2005 22:09:37 +0000 (GMT)
	(envelope-from kouye@wanadoo.fr)
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf1003.wanadoo.fr (SMTP Server) with ESMTP id C973C2000345
	for <freebsd-questions@freebsd.org>;
	Fri,  4 Nov 2005 23:09:35 +0100 (CET)
Received: from [192.168.1.3] (ASte-Genev-Bois-151-1-4-24.w82-121.abo.wanadoo.fr
	[82.121.130.24])
	by mwinf1003.wanadoo.fr (SMTP Server) with ESMTP id 7A3FA2000331;
	Fri,  4 Nov 2005 23:09:35 +0100 (CET)
X-ME-UUID: 20051104220935500.7A3FA2000331@mwinf1003.wanadoo.fr
Message-ID: <436BCDEF.2050709@wanadoo.fr>
Date: Fri, 04 Nov 2005 22:09:03 +0100
From: edward <kouye@wanadoo.fr>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051004)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: James Seward <jamesoff@gmail.com>, freebsd-questions@freebsd.org
References: <4363DE04.4010206@wanadoo.fr>
	<720051dc0510291436n6fb44acdy9423723ae4086425@mail.gmail.com>
In-Reply-To: <720051dc0510291436n6fb44acdy9423723ae4086425@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: Mounting an iPod
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Nov 2005 22:09:37 -0000

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 <kouye@wanadoo.fr> 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
> 
>