From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 2 03:40:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C490D16A4BF for ; Tue, 2 Sep 2003 03:40:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49FFE43FE0 for ; Tue, 2 Sep 2003 03:40:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h82AeGUp018522 for ; Tue, 2 Sep 2003 03:40:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h82AeGaL018520; Tue, 2 Sep 2003 03:40:16 -0700 (PDT) Date: Tue, 2 Sep 2003 03:40:16 -0700 (PDT) Message-Id: <200309021040.h82AeGaL018520@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Martin.Kraemer@fujitsu-siemens.com" Subject: Re: bin/41350: vnconfig: apparent off-by-one bug X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Martin.Kraemer@fujitsu-siemens.com" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 10:40:17 -0000 The following reply was made to PR bin/41350; it has been noted by GNATS. From: "Martin.Kraemer@fujitsu-siemens.com" To: freebsd-gnats-submit@FreeBSD.org, Martin.Kraemer@Fujitsu-Siemens.com Cc: Subject: Re: bin/41350: vnconfig: apparent off-by-one bug Date: Tue, 02 Sep 2003 12:36:50 +0200 I just re-read the PR and noticed that, in the meantime, I have got another error around vn(4) which I also see unchanged since several FreeBSD releases: Right after rebooting (and mounting all my CD images), their contents is visible in the respective mount dirs. But after "some time" (days? weeks?), one (the 1st) of them suddenly ceases to be a directory, and is shown as a file instead: deejai2> grep vn0 /etc/vntab /dev/vn0a /home/spare1/Debian-3.0/debian-30r0-i386-binary-1_NONUS.iso mountro=/home/spare1/Debian-3.0/CD1_NONUS deejai2> mount | grep vn0 /dev/vn0a on /home/spare1/Debian-3.0/CD1_NONUS (cd9660, local, read-only) deejai2> df | grep vn0 /dev/vn0a 662624 662624 0 100% /home/spare1/Debian-3.0/CD1_NONUS deejai2> ls -lad /home/spare1/Debian-3.0/debian-30r0-i386-binary-1_NONUS.iso -rw-r--r-- 2 martin wheel 678526976 23 Jul 2002 /home/spare1/Debian-3.0/debian-30r0-i386-binary-1_NONUS.iso deejai2> ls -lad /home/spare1/Debian-3.0/CD1_NONUS -r-xr-xr-x 1 root wheel 1811966208 1 Jan 1970 /home/spare1/Debian-3.0/CD1_NONUS This used to be an empty directory before the mount, and the CD image's content after the mount. My system is currently: FreeBSD deejai2.mch.fsc.net 4.8-STABLE FreeBSD 4.8-STABLE #18: Thu Jul 31 16:46:03 CEST 2003 martin@deejai2.mch.fsc.net:/usr/src/obj/usr/src/sys/DEEJAI4B i386 Martin -- | Fujitsu Siemens Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730 Munich, Germany