From owner-freebsd-questions@FreeBSD.ORG Mon Jan 8 09:52:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 610DD16A40F for ; Mon, 8 Jan 2007 09:52:08 +0000 (UTC) (envelope-from kelvin@zednaught.net) Received: from exedra.zednaught.net (cpc2-cbly3-0-0-cust101.glfd.cable.ntl.com [86.13.152.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF4B13C442 for ; Mon, 8 Jan 2007 09:52:08 +0000 (UTC) (envelope-from kelvin@zednaught.net) Received: from webmail.zednaught.net (localhost [127.0.0.1]) by exedra.zednaught.net (Postfix) with ESMTP id 5337E5C40 for ; Mon, 8 Jan 2007 09:52:05 +0000 (GMT) Received: from 204.104.55.243 (SquirrelMail authenticated user kelvin) by webmail.zednaught.net with HTTP; Mon, 8 Jan 2007 09:52:06 -0000 (GMT) Message-ID: <18530.204.104.55.243.1168249926.squirrel@webmail.zednaught.net> In-Reply-To: <44b564930701071948n4defad59u142b8b6c3d4650f8@mail.gmail.com> References: <44b564930701071948n4defad59u142b8b6c3d4650f8@mail.gmail.com> Date: Mon, 8 Jan 2007 09:52:06 -0000 (GMT) From: "Kelvin Woods" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: USB drive is a CDROM drive and is not writable 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: Mon, 08 Jan 2007 09:52:08 -0000 On Mon, January 8, 2007 03:48, Michael M. Press wrote: > I have a 2 gigabyte USB memory stick from made by PNY. When I plug it > in, I > get the following: > > umass0: vendor 0x0930 USB Flash Memory, rev 2.00/2.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 1901MB (3894975 512 byte sectors: 255H 63S/T 242C) > cd1 at umass-sim0 bus 0 target 0 lun 1 > cd1: < USB Flash Memory 6.50> Removable CD-ROM SCSI-0 device > cd1: 40.000MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not > present > > I want to be able to mount the device read-write, so I use the > following command: > > mount -t cd9660 -o rw /dev/cd1 /media/flashdrv > > The command runs without spitting any errors at me, but it does a > read-only > mount. I can see files on the drive, but (of course) I can't change > them. Does > my problem have anything to do with the device being detected as a > CD-ROM > drive? If that is what's wrong I don't really know where to start > looking to fix it. > Any ideas? This sounds like a "Smart" drive - can you confirm? It this is the case it's designed to work this way. You won't be able to write to the CD partition of this flash drive. Smart isn't supported under *nix so the functionality it provides isn't available to FreeBSD users. I have one of these devices myself and simply removed the Smart partition to reclaim the space it takes up. -- Kelvin