mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
The fundamental problem is that we get only the lower 8 bits of the minor device number so there is no guarantee that we can actually find the disk device in question at all. This was probably a bigger issue pre-GEOM where the upper bits signaled which slice were in use. The secondary problem is how we get from (partial) dev_t to vnode. The correct implementation will involve traversing the mount list looking for a perfect match or a possible match (for truncated minor). |
||
|---|---|---|
| .. | ||
| linux_file.c | ||
| linux_getcwd.c | ||
| linux_ioctl.c | ||
| linux_ioctl.h | ||
| linux_ipc.c | ||
| linux_ipc.h | ||
| linux_mib.c | ||
| linux_mib.h | ||
| linux_misc.c | ||
| linux_signal.c | ||
| linux_signal.h | ||
| linux_socket.c | ||
| linux_socket.h | ||
| linux_stats.c | ||
| linux_sysctl.c | ||
| linux_uid16.c | ||
| linux_util.c | ||
| linux_util.h | ||