On 26. des. 2005, at 22.39, Martin Pala wrote:
We already covered almost all basic types (stat system call - types):
check file:
S_ISREG(m) is it a regular file?
check directory:
S_ISDIR(m) directory?
check device:
S_ISCHR(m) character device?
S_ISBLK(m) block device?
check fifo (maybe?):
S_ISFIFO(m) FIFO (named pipe)?
not implemented currently (and probably not needed):
S_ISLNK(m) symbolic link? (Not in POSIX.1-1996.)
S_ISSOCK(m) socket? (Not in POSIX.1-1996.)
For these reasons, i think the new 'check fifo' is better then
sharing the 'check file' statement.
What do you think?
Good points, I yield on that and here's my +1 for adding your fifo
patch :)
--
Jan-Henrik Haukeland
Mobil +47 97141255
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general