Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030222AbWBMWv2 (ORCPT ); Mon, 13 Feb 2006 17:51:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030227AbWBMWv2 (ORCPT ); Mon, 13 Feb 2006 17:51:28 -0500 Received: from mail.fieldses.org ([66.93.2.214]:39885 "EHLO pickle.fieldses.org") by vger.kernel.org with ESMTP id S1030222AbWBMWv1 (ORCPT ); Mon, 13 Feb 2006 17:51:27 -0500 Date: Mon, 13 Feb 2006 17:51:18 -0500 To: Alan Stern Cc: Phillip Susi , Kyle Moffett , Alon Bar-Lev , Kernel development list Subject: Re: Flames over -- Re: Which is simpler? Message-ID: <20060213225118.GM10956@fieldses.org> References: <43F0EE30.2090409@cfl.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060126 From: "J. Bruce Fields" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 19 On Mon, Feb 13, 2006 at 04:24:30PM -0500, Alan Stern wrote: > Can you suggest a _reliable_ way to tell if the USB device present at a > port after resuming is the same device as was there before suspending? That's not really enough, is it? What if you suspend, unplug your usb flash drive, plug it into your camera, take a few pictures, plug it back into the camera, then resume? If you don't throw away the old mount, that sounds equivalent to allowing writes to /dev/hda1 while it has a local filesystem mounted on it. There may be limits to what you can do to prevent that in this case, but it seems best to err on the side of caution. --b. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/