From owner-freebsd-stable Tue Dec 10 9:58:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D92937B401 for ; Tue, 10 Dec 2002 09:58:15 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06AC243EBE for ; Tue, 10 Dec 2002 09:58:14 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id gBAHwCdK038566; Tue, 10 Dec 2002 09:58:12 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id gBAHwBJf027861; Tue, 10 Dec 2002 09:58:11 -0800 (PST) (envelope-from jdp) Date: Tue, 10 Dec 2002 09:58:11 -0800 (PST) Message-Id: <200212101758.gBAHwBJf027861@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: don@sandvine.com Subject: Re: pw useradd not atomic? In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article , Don Bowman wrote: > > Is 'pw' not atomic somehow? The lines that are there seem > complete, i'm just missing the first 100 lines or so. Its > not always the same amount missing. As a quick work-around, you could possibly run the "pw" command under lockf(1). John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message