From owner-freebsd-doc Sun Nov 12 4:45:55 2000 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id E06B537B479; Sun, 12 Nov 2000 04:45:39 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.0/8.11.0) id eACCg6l02717; Sun, 12 Nov 2000 12:42:06 GMT (envelope-from nik) Date: Sun, 12 Nov 2000 12:42:05 +0000 From: Nik Clayton To: opentrax@email.com Cc: nik@FreeBSD.ORG, ben@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG Subject: Re: docs/22043: fstab cache annoyance Message-ID: <20001112124204.D1752@canyon.nothing-going-on.org> References: <20001112105659.A1752@canyon.nothing-going-on.org> <200011121121.DAA04105@spammie.svbug.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011121121.DAA04105@spammie.svbug.com>; from opentrax@email.com on Sun, Nov 12, 2000 at 03:21:05AM -0800 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Nov 12, 2000 at 03:21:05AM -0800, opentrax@email.com wrote: > >> > For utilities that rely on fstab (mount, fsck, ...), > >> > the lookup in fstab(5) fails until the table is > >> > re-read; usually a re-read via reboot. > >> > >> Utilities that read fstab read it themselves, there is no cache in the > >> way you imply. I'm not sure what the problem is. > > > > Seconded. I couldn't duplicate the behaviour described in the PR. > > > I can readily reproduce the errors, but perhaps my description > was not clear enough. I'll review the PR and update it > if the description is not clear enough. What I did: # grep cdrom2 /etc/fstab # mkdir /cdrom2 # mount /cdrom2 mount: /cdrom2: unknown special file or file system # echo '/dev/acd0c /cdrom2 cd9660 ro,noauto 0 0' >> /etc/fstab # mount /cdrom2 At which point the CD was mounted. I see no caching of /etc/fstab in this sequence of commands. If you've got commands that differ, please show an example in the PR. N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message