In message <[EMAIL PROTECTED]>, 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
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to