11/17/2007
Data Test Program (dt)
20
Open Flags
nCommon Open Flags:
uexcl (O_EXCL)         Exclusive open. (don't share)
undelay (O_NDELAY)     Non-delay open. (don't block)
unonblock (O_NONBLOCK) Non-blocking open/read/write.
udirect (O_DIRECT)     Direct disk access. (don't cache data).
ursync (O_RSYNC)       Synchronize read operations.
usync (O_SYNC)         Sync updates for data/file attributes.
ularge (O_LARGEFILE)   Enable large (64-bit) file system support.
u
nOutput Open Flags:
uappend (O_APPEND)     Append data to end of existing file.
udefer (O_DEFER)       Defer updates to file during writes.
udsync (O_DSYNC)       Sync data to disk during write operations.
utrunc (O_TRUNC)       Truncate an existing file before writing.
n
nExample:
u# dt of=dt.data flags=direct oflags=trunc ...
n