https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192239
Bug ID: 192239 Summary: NOTE_TRUNCATE not supported Product: Base System Version: 10.0-RELEASE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ericsh...@eradman.com Created attachment 145120 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145120&action=edit a minimal program for printing VNODE events on BSD On OpenBSD /usr/include/sys/event.h defines a filer for watching responding file truncation: #define·NOTE_TRUNCATE 0x0080 /* vnode was truncated */ On FreeBSD this is not defined, and does not appear to be covered by any other filers $ echo "test" > file.txt # NOTE_WRITE $ : > file.txt # NOTE_TRUNCATE I'm filing this bug on behalf of the entr utility (http://entrproject.org) since this leaves an edge case where a file is altered without triggering an action. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"