From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 23:20:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F54A16A4CE; Tue, 18 Nov 2003 23:20:40 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6536943FD7; Tue, 18 Nov 2003 23:20:39 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id hAJ7KYEs061077; Wed, 19 Nov 2003 08:20:34 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Ian Dowse From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 18 Nov 2003 22:53:42 GMT." <200311182253.aa25788@salmon.maths.tcd.ie> Date: Wed, 19 Nov 2003 08:20:34 +0100 Message-ID: <61076.1069226434@critter.freebsd.dk> cc: Rudolf Cejka cc: freebsd-current@freebsd.org cc: "Tim J. Robbins" Subject: Re: cvs commit: src/sbin/umount umount.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 07:20:41 -0000 In message <200311182253.aa25788@salmon.maths.tcd.ie>, Ian Dowse writes: >I was planning to return a filesystem ID of {st_dev, 0} to non-root >users, Please notice that st_dev is not constant across reboots. Suggest you hash the real fsid and use the hash instead. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.