cvs commit: src/sbin/umount umount.c

Poul-Henning Kamp phk at
Tue Nov 18 23:20:41 PST 2003

In message <200311182253.aa25788 at>, Ian Dowse writes:

>I was planning to return a filesystem ID of {st_dev, 0} to non-root

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 at 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.

More information about the freebsd-current mailing list