From owner-freebsd-current Sat Aug 26 23:24:06 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA09994 for current-outgoing; Sat, 26 Aug 1995 23:24:06 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id XAA09971 for ; Sat, 26 Aug 1995 23:24:03 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA25958 for ; Sun, 27 Aug 1995 08:24:00 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA01621 for freebsd-current@FreeBSD.org; Sun, 27 Aug 1995 08:24:00 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA21777 for freebsd-current@FreeBSD.org; Sun, 27 Aug 1995 08:19:11 +0200 From: J Wunsch Message-Id: <199508270619.IAA21777@uriah.heep.sax.de> Subject: Re: nfs panic after changing cd's To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sun, 27 Aug 1995 08:19:10 +0200 (MET DST) Reply-To: freebsd-current@FreeBSD.org (FreeBSD-current users) In-Reply-To: <9508262204.AA16363@cs.weber.edu> from "Terry Lambert" at Aug 26, 95 04:04:14 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 875 Sender: current-owner@FreeBSD.org Precedence: bulk As Terry Lambert wrote: > > The cd9660 has glossed over the idea of a generation count; in point of > fact, the generation count on an inode for a cdromfs is *exactly* what is > needed to fix this problem. This is what the UFS uses on a remount on > the same mountpoint of another FS to cause it to return ESTALE. The > ESTALE should be returned before a lot of the crap dereferences in the > cd9660 FS take place. Sorry, i cannot entirely follow you. :) I think the idea behind the decision as it's done now was to allow the remount of an identical CD without returning ESTALE. It has been discussed here that computing some MD5 checksum for the CD is probably the best way to base a decision for stale NFS file handles on. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)