From owner-freebsd-bugs Thu Mar 28 5:50:49 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (dclient217-162-168-197.hispeed.ch [217.162.168.197]) by hub.freebsd.org (Postfix) with ESMTP id 09FE037B419 for ; Thu, 28 Mar 2002 05:50:43 -0800 (PST) Received: from beerswilling.netscum.dyndns.dk (dcf77-zeit.netscum.dyndns.dk [172.27.72.27] (may be forged)) by dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (8.11.6/8.11.6) with ESMTP id g2SDod201018 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified FAIL) for ; Thu, 28 Mar 2002 14:50:41 +0100 (CET) (envelope-from bounce@netscum.dyndns.dk) Received: (from root@localhost) by beerswilling.netscum.dyndns.dk (8.11.6/8.11.6) id g2SDodU01010; Thu, 28 Mar 2002 14:50:39 +0100 (CET) (envelope-from bounce@netscum.dyndns.dk) Date: Thu, 28 Mar 2002 14:50:39 +0100 (CET) Message-Id: <200203281350.g2SDodU01010@beerswilling.netscum.dyndns.dk> Subject: Read-only `cvs' checkout with specified tag seems b0rken? From: BOUWSMA Beery To: freebsd-bugs@freebsd.org Organization: Men not wearing any pants that dont shave X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: faster Cabal Modem for a change! X-NetScum: Yes X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [replies sent directly to me may timeout and bounce, since I'm not online as often as I should be, but I'll check the list archives] Moin, moin! It sure looks to me that even when I specify the `-R' read-only repository option to `cvs', it still wants to write into the (read-only) repository, so long as I've specified a `-r tag' ... A checkout without the `-r tag' runs happily. (Tested on -stable, didn't try -current) FWIW, I'm now in NetBSD, where the `-r tag' command is working to give me the repository, though with the NetBSD `-u' option to `cvs' that's supposed to be comparable to FreeBSD's `-R' option. And yes, the CVSR00T directory is also mounted read-only. The NetBSD source uses `nolock' set by `-u' that can be found in several more source files (such as tag.c) than the `readonlyfs' of FreeBSD that only shows in main.c and lock.c, in the src directory, if that helps. voila: bash-2.05a$ time cvs -d /mnt/cvsup/XFree86.cvs -R co -r xf-3_3-branch xc cvs [checkout aborted]: cannot write /mnt/cvsup/XFree86.cvs/CVSROOT/val-tags: Re ad-only file system real 5m54.998s user 1m14.553s sys 0m58.791s bash-2.05a$ time cvs -R -d /mnt/cvsup/XFree86.cvs co xc cvs checkout: Updating xc U xc/INSTALL.PS U xc/INSTALL.TXT [..] thanks barry bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message