From owner-freebsd-stable@FreeBSD.ORG Sun Mar 12 20:09:41 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C3016A40B for ; Sun, 12 Mar 2006 20:09:41 +0000 (GMT) (envelope-from simond@irrelevant.org) Received: from www.irrelevant.org (dsl82-163-99-116.as15444.net [82.163.99.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E6C43D5E for ; Sun, 12 Mar 2006 20:09:36 +0000 (GMT) (envelope-from simond@irrelevant.org) Received: from dsl82-163-99-114.as15444.net ([82.163.99.114] helo=[192.168.21.199]) by www.irrelevant.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FIWse-000BfP-Jl for freebsd-stable@freebsd.org; Sun, 12 Mar 2006 20:09:33 +0000 Mime-Version: 1.0 X-Mailer: SnapperMail 2.3.3.04 by Snapperfish To: freebsd-stable@freebsd.org Message-ID: <4657-SnapperMsgD96B4246C03A307B@[192.168.21.199]> In-Reply-To: <20060311.162421.97071374.imp@bsdimp.com> References: <4412C7D2.5080809@FreeBSD.org> <20060311124931.62eee647@frankie.konav201.local> <20060311.162421.97071374.imp@bsdimp.com> From: Simon Dick Date: Sun, 12 Mar 2006 19:54:42 +0000 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: Spam detection software, running on the system "amd64.irrelevant.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: ...... Original Message ....... On Sat, 11 Mar 2006 16:24:21 -0700 (MST) "M. Warner Losh" wrote: >In message: <20060311124931.62eee647@frankie.konav201.local> > Robert Marella writes: >: On Sat, 11 Mar 2006 13:51:30 +0100 >: Alex Dupre wrote: >: >: > My new PC has an internal 16-in-1 card reader connected via USB 2.0. >: > The device is the Techsolo TCR-1640 >: > (http://www.techsolo.de/product/cardreader/tcr_1640/index.php). >: > I boot from a compact flash inserted in it and I can mount and unmount >: > the same CF once the system has booted and has mounted the root >: > partition from my graid3 array. >: > The problem arise when I replace the inserted CF with another one >: > (with different size and filesystem) and try to mount it. Fdisk can >: > correctly sees the new partition table, but devfs is not updated and >: > I cannot mount the new media. >: >: >: >: Hello Alex >: >: This problem has been discussed many times on the lists. In order to >: update devfs you can use: >: >: cat /dev/null > /dev/daX >: >: I seem to remember another method using dd. > >dd if=/dev/null of=/dev/daX count=0 [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: Re: Problem with 16-in-1 card reader X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2006 20:09:42 -0000 ...... Original Message ....... On Sat, 11 Mar 2006 16:24:21 -0700 (MST) "M. Warner Losh" wrote: >In message: <20060311124931.62eee647@frankie.konav201.local> > Robert Marella writes: >: On Sat, 11 Mar 2006 13:51:30 +0100 >: Alex Dupre wrote: >: >: > My new PC has an internal 16-in-1 card reader connected via USB 2.0. >: > The device is the Techsolo TCR-1640 >: > (http://www.techsolo.de/product/cardreader/tcr_1640/index.php). >: > I boot from a compact flash inserted in it and I can mount and unmount >: > the same CF once the system has booted and has mounted the root >: > partition from my graid3 array. >: > The problem arise when I replace the inserted CF with another one >: > (with different size and filesystem) and try to mount it. Fdisk can >: > correctly sees the new partition table, but devfs is not updated and >: > I cannot mount the new media. >: >: >: >: Hello Alex >: >: This problem has been discussed many times on the lists. In order to >: update devfs you can use: >: >: cat /dev/null > /dev/daX >: >: I seem to remember another method using dd. > >dd if=/dev/null of=/dev/daX count=0 true >/dev/daX is my favourite due to typing length.