From owner-freebsd-questions@FreeBSD.ORG Mon Jan 8 13:28:59 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 3385B16A40F for ; Mon, 8 Jan 2007 13:28:59 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id BB1D613C461 for ; Mon, 8 Jan 2007 13:28:58 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ppp125-203.lns2.adl4.internode.on.net (HELO alpha.home) ([121.44.125.203]) by ipmail01.adl2.internode.on.net with ESMTP; 08 Jan 2007 23:43:34 +1030 X-IronPort-AV: i="4.13,159,1167571800"; d="scan'208"; a="71123128:sNHT23513231" From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Mon, 8 Jan 2007 23:43:33 +1030 User-Agent: KMail/1.8 References: <44b564930701071948n4defad59u142b8b6c3d4650f8@mail.gmail.com> In-Reply-To: <44b564930701071948n4defad59u142b8b6c3d4650f8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701082343.33324.malcolm.kay@internode.on.net> Cc: "Michael M. Press" 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 13:28:59 -0000 On Mon, 8 Jan 2007 02:18 pm, 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 > You cannot mount even a conventional CD drive as a writable cd9660 filesystem. Creating a cd9660 fs is normally a one hit prossess in which the fs is created fully populated and can't then normally be changed except on RW media by overwriting the entire fs. I don't know the device you are using but would expect that you can write a populated cd9660 file system directly using cdrecord (or perhaps burncd) without attempting to mount; just as you would on a conventional ATAPI or SCSII CD drive. Malcolm > 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? > > -- I have 'device pass' in my kernel > -- I am using 6.2 prerelease > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"