-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsync.1
More file actions
21 lines (21 loc) · 716 Bytes
/
sync.1
File metadata and controls
21 lines (21 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.TH sync 1
'''
.SH NAME
sync \- synchronize cached writes to persistent storage
'''
.SH SYNOPSIS
.IP "\fBsync\fR" 4
Call \fBsync\fR(2).
.IP "\fBsync\fR \fIfile\fR \fIfile\fR ..." 4
Call \fBfsync\fR(2) on each file.
.IP "\fBsync\fR \fB-d\fR \fIfile\fR \fIfile\fR ..." 4
Call \fBfdatasync\fR(2) on each file.
.IP "\fBsync\fR \fB-f\fR \fIfile\fR" 4
Call \fBsyncfs\fR(2) to sync the file system containing \fIfile\fR.
.IP "\fBsync\fR \fB-t\fR \fIfile\fR [\fIminsize\fR [\fIfrom\fR \fIto\fR]]" 4
Do \fBFITRIM\fR ioctl on the file system containing \fIfile\fR.
'''
.SH DESCRIPTION
The tool is a very thin wrapper around the four *sync system calls.
Refer to syscall description for more info on what they actually do.
'''