The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Article Feedback - Apache - rotating log files
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 another, easier way to get watch working...
Author: Tom 
Date:   15-06-04 23:36

someone had mentioned to me a while ago that there was a kernel module for creating snoop devices, and i decided just recently to try it out and see if it works.

# cd /modules
# kldload snp.ko
# cd /dev
# ./MAKEDEV snp0 (however many)
# cd /modules
# kldunload snp.ko

works great, saves you the cumbersome task of creating and building a custom kernel...especially if you have no other reason(s) to.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org