"\n"
" Opens a file for subsequent use by all of the other xfs_io commands.\n"
" With no arguments, open uses the stat command to show the current file.\n"
-" -F -- foreign filesystem file, disallow XFS-specific commands\n"
" -a -- open with the O_APPEND flag (append-only mode)\n"
" -d -- open with O_DIRECT (non-buffered IO, note alignment constraints)\n"
" -f -- open with O_CREAT (create the file if it doesn't exist)\n"
return 0;
}
- while ((c = getopt(argc, argv, "Racdfm:nrstx")) != EOF) {
+ while ((c = getopt(argc, argv, "FRacdfm:nrstx")) != EOF) {
switch (c) {
case 'F':
/* Ignored / deprecated now, handled automatically */
Display a list of all open files and (optionally) switch to an alternate
current open file.
.TP
-.BI "open [[ \-FacdfrstR ] " path " ]"
+.BI "open [[ \-acdfrstR ] " path " ]"
Closes the current file, and opens the file specified by
.I path
instead. Without any arguments, displays statistics about the current
.RS 1.0i
.PD 0
.TP 0.4i
-.B \-F
-allows non-XFS (foreign) files to be opened and
-operated on with a restricted command set.
-.TP
.B \-a
opens append-only (O_APPEND).
.TP