Add a BUGS section to note that mount/chroot changes since

a module was loaded might make the pathname inaccurate.

I wonder if an inode reference should be stored with the pathname
to allow a validity check?

Suggested by: rwatson@
This commit is contained in:
John Birrell 2007-10-22 21:49:39 +00:00
parent 21b415b212
commit b7a2eb795c

View file

@ -128,3 +128,7 @@ The
.Nm kld
interface first appeared in
.Fx 3.0 .
.Sh BUGS
The pathname many not be accurate if the file system mounts have
changed since the module was loaded, or if this function is called
within a chrooted environment.