From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 14:30:35 2005 Return-Path: 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 1A47216A4CE for ; Sun, 24 Apr 2005 14:30:35 +0000 (GMT) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A01C743D54 for ; Sun, 24 Apr 2005 14:30:34 +0000 (GMT) (envelope-from danolson@visi.com) Received: from [192.168.240.220] (danolson.dsl.visi.com [209.98.225.50]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id E5E538182; Sun, 24 Apr 2005 09:30:33 -0500 (CDT) Message-ID: <426BAD88.5000402@visi.com> Date: Sun, 24 Apr 2005 09:30:32 -0500 From: Dan Olson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050326) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fridtjof Busse References: <20050423214149.7e0afbd7.fbusse@gmx.de> <1114298761.7355.19.camel@chaucer> <20050424081908.44afdf58.fbusse@gmx.de> In-Reply-To: <20050424081908.44afdf58.fbusse@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Mounting USB-stick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 14:30:35 -0000 Fridtjof Busse wrote: > * Mike Jeays : > >>>Now I have /dev/da0, but no /dev/da0s1. >>>No matter what I try with camcontrol, I don't get da0s1. >>>By accident I found out that after I mount /dev/da0 (which of course >>>doesn't give me any files on the stick) and umount it, I get /dev/ >>>da0s1. What's going on/wrong and how can I fix it? I don't need >>>amd, so I'd be happy about a simple solution, if there's any. >>>Thanks! :) >> >>Run fdisk on the drive, and see where the partitions are. I have >>found cases where the fourth partition holds the data, and you can >>mount it with 'mount -t msdos /dev/da0s4 /mnt'. Running fdisk with >>no parameters won't do any damage - but see below. >> >>In other cases of trouble, try 'camcontrol devlist' to get a list of >>which device numbers have been assigned. It isn't always da0. > > > As I've already written: da0s1 is correct, but it only appears if I run > 'mount_msdosfs /dev/da0 /mnt && umount /mnt' before. > Otherwise there's only /dev/da0, nothing else. Then I can mount > /dev/da0s1. > I'd just like to know how I can mount da0s1 without having to mount the > device itself first. The partition is there and works fine under Linux > and FreeBSD, but FreeBSD doesn't "see" it at first. camcontrol lists the > device as soon as I plug it in ('scbus 1 target 0 lun 0 (pass0,da0)'), > but da0s1 won't appear before I use the above "workaround". > For me to get da0s1 to appear I use the command: cat /dev/null > /dev/da0 I think there is a timing issue with my device, a Kingston Elite. Dan Olson