Date: Wed, 19 Nov 2003 08:20:34 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: "Tim J. Robbins" <tjr@freebsd.org> Subject: Re: cvs commit: src/sbin/umount umount.c Message-ID: <61076.1069226434@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 18 Nov 2003 22:53:42 GMT." <200311182253.aa25788@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61076.1069226434>
