diff options
Diffstat (limited to 'sys/kern/vfs_mount.c')
| -rw-r--r-- | sys/kern/vfs_mount.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 5bafcc883e53..27c2b54b3c4e 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -71,6 +71,10 @@ MALLOC_DEFINE(M_MOUNT, "mount", "vfs mount structure"); #define ROOTNAME "root_device" +/* + * The vnode of the system's root (/ in the filesystem, without chroot + * active.) + */ struct vnode *rootvnode; /* @@ -293,6 +297,9 @@ vfs_mountroot_ask(void) } } +/* + * Local helper function for vfs_mountroot_ask. + */ static void gets(char *cp) { @@ -367,6 +374,7 @@ setrootbyname(char *name) return (1); } +/* Show the dev_t for a disk specified by name */ #ifdef DDB DB_SHOW_COMMAND(disk, db_getdiskbyname) { |
