Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 03:40:16 -0700 (PDT)
From:      "Martin.Kraemer@fujitsu-siemens.com" <Martin.Kraemer@Fujitsu-Siemens.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/41350: vnconfig: apparent off-by-one bug
Message-ID:  <200309021040.h82AeGaL018520@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/41350; it has been noted by GNATS.

From: "Martin.Kraemer@fujitsu-siemens.com" <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
 
 -- 
 <Martin.Kraemer@Fujitsu-Siemens.com>         |     Fujitsu Siemens
 Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309021040.h82AeGaL018520>