diff options
author | phk <phk@FreeBSD.org> | 2004-12-11 12:48:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-11 12:48:37 +0000 |
commit | b733b4afe12600b503f3a2bf05f42124cf089ab3 (patch) | |
tree | 5710e0db993912af45aa77bb56f2efaab46a89aa | |
parent | 93f6fd0d01ebd2fc1bd70ccf94cc8a2ecb46b277 (diff) | |
download | FreeBSD-src-b733b4afe12600b503f3a2bf05f42124cf089ab3.zip FreeBSD-src-b733b4afe12600b503f3a2bf05f42124cf089ab3.tar.gz |
Remove the /dev/dev -> / symlink after we are done with it.
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 5be63c9..457bec7 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1176,6 +1176,8 @@ devfs_fixup(struct thread *td) vput(vp); vput(dvp); + /* Unlink the no longer needed /dev/dev -> / symlink */ + kern_unlink(td, "/dev/dev", UIO_SYSSPACE); } /* |