bin/41350: vnconfig: apparent off-by-one bug
Martin.Kraemer at fujitsu-siemens.com
Martin.Kraemer at Fujitsu-Siemens.com
Tue Sep 2 03:40:17 PDT 2003
The following reply was made to PR bin/41350; it has been noted by GNATS.
From: "Martin.Kraemer at fujitsu-siemens.com" <Martin.Kraemer at Fujitsu-Siemens.com>
To: freebsd-gnats-submit at FreeBSD.org,
Martin.Kraemer at 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 at deejai2.mch.fsc.net:/usr/src/obj/usr/src/sys/DEEJAI4B i386
Martin
--
<Martin.Kraemer at Fujitsu-Siemens.com> | Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730 Munich, Germany
More information about the freebsd-bugs
mailing list