From owner-freebsd-questions@FreeBSD.ORG Mon Jul 21 02:57:23 2003 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 E735D37B401 for ; Mon, 21 Jul 2003 02:57:23 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5120143F3F for ; Mon, 21 Jul 2003 02:57:22 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h6L9v4Mc019031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jul 2003 10:57:17 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h6L9v43r019030; Mon, 21 Jul 2003 10:57:04 +0100 (BST) (envelope-from matthew) Date: Mon, 21 Jul 2003 10:57:04 +0100 From: Matthew Seaman To: Sean Countryman Message-ID: <20030721095704.GC17740@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Sean Countryman , freebsd-questions@freebsd.org References: <3F1B3961.70801@comcast.net> <000801c34f38$8411fc80$1a00a8c0@rackoperations.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <000801c34f38$8411fc80$1a00a8c0@rackoperations.local> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-9.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: Mount a Sony Memory 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: Mon, 21 Jul 2003 09:57:24 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2003 at 09:31:03PM -0600, Sean Countryman wrote: > I'm trying to mount a 64MB Sony memory stick via a USB cable and need a > bit of help. >=20 > I recompiled my kernel and upgraded to 4.8 RELEASE and now, if I boot > with the camera connected, it finds it as a SCSI device, but it > conflicts with my da0 device which has my / partition on it. >=20 > I've got 4 SCSI disks already installed (devices da0 thru da3), and > there is not a da4 in the /dev directory. >=20 > All I'd like is to be able to plug the camera in without rebooting and > be able to manually mount it, grab the photos, unmount it, and remove > it. You need to do two things: first of all, build yourself a custom kernel with your boot drive da0, and any other fixed disks you mount partitions from wired down -- that means the device will always appear at a fixed bus, target and LUN whenever you reboot. See the section on 'SCSI DEVICE CONFIGURATION' in /usr/src/sys/i386/conf/LINT Secondly, create the device nodes you need --- you get da0, da1, da2 and da3 by default. You need to run: # cd /dev # ./MAKEDEV da4 This should create /dev/da4, /dev/da4s1, /dev/da4s1a ... /dev/da4s1h amongst others. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD4DBQE/G7jwdtESqEQa7a0RAqTJAJ9DtbhnKdAnGGqkatEhW5kpFrXPTwCY9K1w czn2s21BigwDCtFEnL6lIQ== =GoYL -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--