Date: Tue, 29 Jul 2014 13:22:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192239] New: NOTE_TRUNCATE not supported Message-ID: <bug-192239-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192239 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: ericshane@eradman.com Created attachment 145120 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D145120&action= =3Dedit 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=C2=B7NOTE_TRUNCATE 0x0080 /* vnode was truncated */ On FreeBSD this is not defined, and does not appear to be covered by any ot= her 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192239-8>