NetBSD/usr.sbin
manu 516b1c9016 - open the file before doing fsync: glusterfs wants that.
- Automatically call fsync on close for files. If we just close, fsync
will come later and we will have to reopen

- Add a PND_DIRTY flag to keep track of files that really need a sync.
perfuse_node_fsync only calls the FUSE fsync method if there are data
to push.

- Add a PND_OPEN flag to keep track of open files. Checking non NULL
fh is not enough, as some filesystems will always set fh to 0.

- Add a sync diagnostic flag, to watch fsync and dirty flag activity.
Make the fh diagnostic flag more verbose

- Send the fh in setattr (it was hardcoded to 0)

I am now able to build libperfuse in a glusterfs mounted filesystem. Yeah!
2010-08-26 13:29:01 +00:00
..
ac Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
accton remove the HISTORY section that merely claimed this manual page was 2010-01-26 06:03:02 +00:00
acpitools Put "MAN= acpidump.8" back outside the i386/amd64 block so its in the 2009-12-27 21:42:22 +00:00
altq Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value) 2010-03-01 00:13:47 +00:00
apm Add a note that APM was deprecated by the PC manufacturers in about 1996. 2010-03-20 07:59:44 +00:00
apmd Note also here that this is a legacy daemon that is more or less deprecated. 2010-03-20 09:22:37 +00:00
arp Allow -f -, as per PR 10898. 2010-06-10 06:03:20 +00:00
bad144 Fix -Wsign-compare issues 2009-04-16 06:27:43 +00:00
bootp Fix -Wsign-compare issues 2009-04-15 00:13:50 +00:00
btattach Sort sections. Try to improve description of -t. 2010-03-09 10:54:01 +00:00
btconfig handle device page timeout value as LE 2009-10-09 12:58:28 +00:00
btdevctl additionally query the "PnP Information" service record to discover 2010-04-28 06:18:07 +00:00
bthcid use the bt_dev(3) API for increased portability 2009-10-05 12:34:26 +00:00
btpand after setting the L2CAP link mode in server mode, retrieve the kernels 2009-10-25 19:28:45 +00:00
catman Fix -Wsign-compare issues 2009-04-15 00:40:01 +00:00
chown Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
chroot Xref ldd(1) as per PR bin/30043 from Jochen Keil. 2010-07-06 23:05:56 +00:00
chrtbl 1. split runetype_local.h -> runetype_file.h 2010-06-13 04:14:56 +00:00
cnwctl
cpuctl check for svm feature flags if cpuid function 0x8000000a is available. 2010-02-23 08:46:33 +00:00
crash workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer 2010-04-23 02:10:01 +00:00
cron Quote question mark so it's correctly marked up. 2010-03-12 09:36:15 +00:00
dev_mkdb Fix -Wsign-compare issue 2009-04-15 01:01:06 +00:00
dhcp Use resolvconf(8) to manage /etc/resolv.conf 2009-11-21 07:53:59 +00:00
diskpart Fix -Wsign-compare issue 2009-04-15 05:41:09 +00:00
dumpfs Adjust for change in kernel that stores physical block numbers 2010-02-27 12:07:40 +00:00
dumplfs Read the padded superblocks to avoid problems with disks that have 2010-02-16 18:57:53 +00:00
edquota
eeprom Add xref to ofctl(8). 2009-12-19 23:10:57 +00:00
envstat Use <paths.h>. Remove trailing white space. 2010-08-26 05:25:57 +00:00
eshconfig Fix -Wsign-compare issue 2009-04-15 05:50:20 +00:00
etcupdate Run services_mkdb if only the old hash exists 2010-06-24 17:12:06 +00:00
extattrctl Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
faithd Use .%U for URLs instead of .%O. 2010-01-15 19:19:32 +00:00
fssconfig
fusermount Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
fwctl show crom: 2010-08-26 07:04:04 +00:00
gpioctl Rename 'pulse' to 'pulsate' to make clear it is a continuous strain of 2009-09-25 20:27:50 +00:00
grfconfig don't discard const qualifiers 2009-04-26 19:24:18 +00:00
grfinfo New sentence, new line. 2009-05-12 14:56:22 +00:00
gspa Fix WARNS=4 (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-15 08:26:34 +00:00
hdaudioctl Include the type of non-complex pins in the label. 2010-08-10 13:52:13 +00:00
hilinfo Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
hprop Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
ifmcstat Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
ifwatchd Remove trailing whitespace, replace "Ar -i" with "Fl i". 2010-04-16 13:56:45 +00:00
inetd Avoid SIGSEGV in forked child process for (some?) instant-disconnect clients. 2010-03-25 16:36:00 +00:00
installboot Invert the flag bits to control module loading: rename 2010-01-17 14:54:43 +00:00
iopctl Fix -Wsign-compare issues 2009-04-15 08:40:59 +00:00
iostat Fix -Wsign-compare issues 2009-04-15 10:05:41 +00:00
ipf When using -lcurses, you also need -lterminfo. 2010-02-06 23:45:24 +00:00
iprop-log Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
ipwctl Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
irdaattach Fix -Wcast-qual issue 2009-04-16 02:11:44 +00:00
isdn When using -lcurses, you also need -lterminfo. 2010-02-06 23:45:24 +00:00
iteconfig don't discard const qualifiers 2009-04-26 19:56:20 +00:00
iwictl Update references to firmware handling (mostly by removing outdated stuff 2009-05-18 12:55:28 +00:00
kadmin Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
kcm Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
kdc Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
kdigest Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
kgmon Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
kimpersonate Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
kstash Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
ktutil Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
kvm_mkdb
lastlogin Fix WARNS=4 (-Wshadow -Wcast-qual) 2009-04-16 05:59:56 +00:00
link
lmcconfig Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-16 06:07:53 +00:00
lockstat Fix -Wsign-compare issues 2009-04-16 06:14:13 +00:00
lpr Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
lptctl Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
mailwrapper A general update. Remove (hopefully the last) references to sendmail(8), etc. 2010-04-10 08:29:53 +00:00
makefs make sense 2009-11-22 18:43:27 +00:00
map-mbone
mdconfig Drop 3rd and 4th clauses. Approved by gwr@ (copyright holder). 2009-10-21 23:12:09 +00:00
mdsetimage - use program header rather than section header to find file offset for vmaddr 2009-07-30 15:56:01 +00:00
memswitch
mld6query Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
mlxctl Fix WARNS=4 issues (-Wshadow -Wextra -Wcast-qual -Wsign-compare) 2009-04-17 04:03:39 +00:00
mmcformat Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
mopd ANSIfy, sprinkle "const" 2009-11-17 18:58:07 +00:00
mountd make this compatible with bool.h. no functional change intended. 2009-10-11 16:30:19 +00:00
moused Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wextra -Wsign-compare) 2009-04-17 14:02:21 +00:00
mrinfo Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-17 14:07:45 +00:00
mrouted Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual) 2009-04-17 16:05:43 +00:00
mscdlabel
mtrace Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 16:12:46 +00:00
mtree Fix date. 2010-01-20 14:00:48 +00:00
ndbootd Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
ndiscvt use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
ndp Update date. 2009-11-06 20:51:43 +00:00
netgroup_mkdb Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
nfsd PR/42486: Ed Ravin nfsd sometimes exits prematurely during port-scan fix 2009-12-21 05:06:55 +00:00
npf Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
ntp fix language 2010-01-28 14:12:11 +00:00
ofctl Make ofctl for ofppc machines. 2010-06-20 21:30:26 +00:00
paxctl PR/42239: M. Levinson: paxctl(8) fails since binutils 2.19.1 upgrade 2009-10-27 16:27:47 +00:00
pcictl make functions static 2009-07-04 20:34:23 +00:00
perfused - open the file before doing fsync: glusterfs wants that. 2010-08-26 13:29:01 +00:00
pf Remove trailing whitespace and dot in Nd. 2010-05-09 14:02:10 +00:00
postinstall Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile 2010-04-23 19:21:08 +00:00
powerd Define _PATH_POWER and use it. 2010-04-24 20:44:33 +00:00
pppd PR/42943: Takashi Sogabe: pppd generates invalid netmask 2010-03-10 13:45:39 +00:00
psrset Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
pstat Remove the portalfs kernel file system driver. Replace mount_portal(8) 2009-12-05 20:11:01 +00:00
puffs support CTLTYPE_BOOL 2010-08-06 15:26:16 +00:00
pvcsif
pvctxctl fix -Wshadow 2009-04-19 08:53:37 +00:00
pwd_mkdb Sort sections. 2010-08-18 10:00:49 +00:00
quot Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
quotacheck Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
quotaon Fix -Wcast-qual issues 2009-04-18 08:20:41 +00:00
racoon Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
racoonctl adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk) 2009-05-07 09:31:40 +00:00
rarpd Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra) 2009-04-18 08:50:23 +00:00
rbootd Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 09:18:17 +00:00
rdate Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
repquota Make block fields one char wider; allows to sanely display quotas up to 2010-02-17 18:55:14 +00:00
rip6query
rmt Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
route6d no [longer?] need to define _KERNEL when including <net/route.h> 2010-04-23 15:30:30 +00:00
rpc.bootparamd Fix -Wshadow and -Wcast-qual issues 2009-04-18 12:57:10 +00:00
rpc.lockd allow comparing v2 and v3 filehandles. 2009-11-19 22:27:26 +00:00
rpc.pcnfsd ANSIfy partially 2009-11-17 18:37:45 +00:00
rpc.statd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
rpc.yppasswdd Remove 3rd and 4th clauses. Approved by Mats O Jansson (copyright holder). 2009-10-21 00:01:56 +00:00
rpcbind Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
rtadvd Use documentation prefix. 2009-11-01 15:19:19 +00:00
rtsold check if i is in range before using it. 2010-01-18 04:53:10 +00:00
rwhod Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
sa sprinkle some const 2010-06-10 06:28:33 +00:00
schedctl Skip LSIDL and LSZOMB threads when retrieving info. 2009-05-16 23:59:56 +00:00
screenblank System utilities, boot programs and kernel modules are machine 2009-12-13 05:01:32 +00:00
sdpd add some LOG_DEBUG 2010-03-07 10:58:40 +00:00
services_mkdb Sort option descriptions. 2010-05-05 22:11:19 +00:00
sesd ANSIfy partially 2009-11-17 18:37:45 +00:00
sliplogin
sntp Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
spray Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
srtconfig Fix -Wextra issue 2009-04-18 14:02:42 +00:00
sti improve wording a bit 2009-08-28 21:19:13 +00:00
sunlabel Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
sup Drop undefined macros. 2009-11-02 00:33:34 +00:00
syslogd Allow syslogd to compile when MKCRYPTO=no. No promises as to whether 2010-06-09 21:55:42 +00:00
tadpolectl System utilities, boot programs and kernel modules are machine 2009-12-13 05:01:32 +00:00
tcpdchk Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
tcpdmatch Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
tcpdrop Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
tcpdump Import pfsync support from OpenBSD 4.2 2009-09-14 10:36:48 +00:00
timed Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
tpctl Fix WARNS=4 issues. 2009-04-28 10:57:24 +00:00
tprof deal with the output of new objdump. 2009-10-13 00:49:38 +00:00
traceroute Fix incomplete extensions sanity checks 2010-07-02 12:13:11 +00:00
traceroute6 PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian 2010-05-13 18:19:18 +00:00
trpt Remove superfluous comma. 2009-05-04 20:54:50 +00:00
unlink
usbdevs The structure returned by USB_DEVICEINFO has the vendor/device strings 2010-02-02 16:25:30 +00:00
user Bump date for gid_range. 2009-12-31 20:14:19 +00:00
veriexecgen PR/41911: Jukka Ruohonen: A bug in veriexecgen 2009-08-21 04:09:41 +00:00
videomode
vipw Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
vnconfig VNDIOCSET now returns a 64bit unsigned size. 2009-12-06 16:35:16 +00:00
wake remove stupid casts. if lint complains about return values that are ignored, 2010-01-10 19:40:11 +00:00
wiconfig New sentence, new line. Remove unnecessary Bk/Ek pairs. 2009-07-02 18:32:04 +00:00
wlanctl Fix formatting. New sentence, new line. 2009-05-04 20:47:48 +00:00
wpa Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
wsconscfg Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
wsfontload Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
wsmoused option noinput nounput 2009-10-29 14:40:09 +00:00
wsmuxctl
ypbind Whitespace. 2009-11-06 15:41:58 +00:00
yppoll
ypserv No trailing whitespace 2010-04-05 19:36:29 +00:00
ypset
zdump
zic Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00
Makefile Import NPF - a packet filter. Some features: 2010-08-22 18:56:18 +00:00
Makefile.inc Enable WARNS=4 by default, except for: 2009-04-22 15:23:01 +00:00