1 .\" Reboot/halt and Linux information extracted from Rick Faith's original
2 .\" sync(8) manpage, dating back to the Linux 0.99 days. The Linux-specific
3 .\" information is attributed to Linus Torvalds
4 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
5 .\" May be distributed under the GNU General Public License
7 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
8 .\" all rights reserved.
9 .\" Translated Tue Jun 13 14:04:28 JST 2000
10 .\" by by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
12 .\"WORD: synchronize Ʊ´ü
13 .\"WORD: superblock ¥¹¡¼¥Ñ¡¼¥Ö¥í¥Ã¥¯
15 .\"WORD: processer ¥×¥í¥»¥Ã¥µ¡¼
17 .TH SYNC 8 1998-11-01 "GNU" "Linux Programmer's Manual"
20 .\"O sync \- synchronize data on disk with memory
21 sync \- ¥Ç¥£¥¹¥¯¾å¤Î¥Ç¡¼¥¿¤ò¥á¥â¥ê¤ÈƱ´ü¤µ¤»¤ë
24 .B "sync [\-\-help] [\-\-version]"
28 .\"O writes any data buffered in memory out to disk.
29 .\"O This can include (but is not limited to) modified superblocks,
30 .\"O modified inodes, and delayed reads and writes.
31 .\"O This must be implemented by the kernel;
34 .\"O program does nothing but exercise the
38 ¤Ï¥á¥â¥ê¤Ë¥Ð¥Ã¥Õ¥¡¤µ¤ì¤¿¤¹¤Ù¤Æ¤Î¥Ç¡¼¥¿¤ò¥Ç¥£¥¹¥¯¤Ë½ñ¤¹þ¤à¡£
39 ¤³¤ì¤Ë¤Ï¡¢Êѹ¹¤µ¤ì¤¿¥¹¡¼¥Ñ¡¼¥Ö¥í¥Ã¥¯¡¦Êѹ¹¤µ¤ì¤¿ inode¡¦
40 Ãٱ䤷¤¿Æɤ߽ñ¤¤¬´Þ¤Þ¤ì¤ë (¾¤Ë¤â¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤)¡£
41 ¤³¤ì¤Ï¥«¡¼¥Í¥ë¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤Ù¤¤Ç¤¢¤ë¡£
46 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò¹Ô»È¤¹¤ë¤À¤±¤À¤«¤é¤Ç¤¢¤ë¡£
48 .\"O The kernel keeps data in memory to avoid doing (relatively slow) disk
49 .\"O reads and writes.
50 .\"O This improves performance, but if the computer
51 .\"O crashes, data may be lost or the filesystem corrupted as a result.
53 .\"O ensures that everything in memory is written to disk.
54 ¥«¡¼¥Í¥ë¤Ï (Èæ³ÓŪÃÙ¤¤) ¥Ç¥£¥¹¥¯¤ÎÆɤ߽ñ¤¤òÈò¤±¤ë¤¿¤á¡¢
55 ¥Ç¡¼¥¿¤ò¥á¥â¥ê¤ËÊÝ»ý¤¹¤ë¡£
56 ¤³¤ì¤Ë¤è¤êÀǽ¤Ï¸þ¾å¤¹¤ë¤¬¡¢¥³¥ó¥Ô¥å¡¼¥¿¤¬¥¯¥é¥Ã¥·¥å¤·¤¿¾ì¹ç¡¢
57 ·ë²Ì¤È¤·¤Æ¥Ç¡¼¥¿¤¬Â»¼º¤·¤¿¤ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬²õ¤ì¤¿¤ê¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
59 ¤Ï¥á¥â¥ê¤Ë¤¢¤ëÆâÍƤ¹¤Ù¤Æ¤¬¥Ç¥£¥¹¥¯¤Ë½ñ¤¹þ¤Þ¤ì¤ë¤³¤È¤òÊݾڤ¹¤ë¡£
62 .\"O should be called before the processor is halted in an unusual manner
63 .\"O (e.g., before causing a kernel panic when debugging new kernel code).
64 .\"O In general, the processor should be halted using the
70 .\"O commands, which will attempt to put the system in a quiescent state
73 .\"O (Various implementations of these commands exist; consult your
74 .\"O documentation; on some systems one should not call
79 (¿·¤·¤¤¥«¡¼¥Í¥ë¥³¡¼¥É¤ò¥Ç¥Ð¥Ã¥¯¤·¤Æ¤¤¤Æ¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ò°ú¤µ¯¤³¤¹Á°¤Ê¤É¤Î)
80 Ä̾ï¤È°Û¤Ê¤ëÊýË¡¤Ç¥×¥í¥»¥Ã¥µ¡¼¤òÄä»ß¤µ¤»¤ëÁ°¤Ë¤Ï¡¢
82 ¤ò¸Æ¤Ó½Ð¤¹¤Ù¤¤Ç¤¢¤ë¡£
86 ¥·¥¹¥Æ¥à¤òÀŻ߾õÂ֤ˤµ¤»¤ë
90 ¤È¤¤¤Ã¤¿¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¥×¥í¥»¥Ã¥µ¡¼¤òÄä»ß¤µ¤»¤ë¤Ù¤¤Ç¤¢¤ë¡£
91 (¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ë¤Ï¤¤¤í¤¤¤í¤Ê¼ÂÁõ¤¬¤¢¤ë¤Î¤Ç¡¢
92 ¥É¥¥å¥á¥ó¥È¤òÅö¤ë¤³¤È¡£
95 ¤òľÀܸƤӽФ¹¤Ù¤¤Ç¤Ï¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¡£)
100 .\"O Print a usage message on standard output and exit successfully.
101 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
104 .\"O Print version information on standard output, then exit successfully.
105 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
108 .\"O Terminate option list.
109 ¥ª¥×¥·¥ç¥ó¥ê¥¹¥È¤ò½ªÎ»¤¹¤ë¡£
112 .\"O The variables \fBLANG\fP, \fBLC_ALL\fP, \fBLC_CTYPE\fP,
113 .\"O and \fBLC_MESSAGES\fP have the usual meaning.
114 ÊÑ¿ô \fBLANG\fP, \fBLC_ALL\fP, \fBLC_CTYPE\fP, \fBLC_MESSAGES\fP
116 .\"O .SH "CONFORMING TO"
123 .\"O is only guaranteed to schedule the dirty blocks for writing; it can
124 .\"O actually take a short time before all the blocks are finally written.
129 .\"O commands take this into account by sleeping for a few seconds after
134 ¤Ï (¤Þ¤À½ñ¤¹þ¤Þ¤ì¤Æ¤¤¤Ê¤¤) ¥À¡¼¥Æ¥£¤Ê¥Ö¥í¥Ã¥¯¤Î½ñ¤¹þ¤ß¤ò
135 ¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤¹¤ë¤³¤È¤Î¤ß¤òÊݾڤ¹¤ë¡£
136 ¤Ä¤Þ¤ê¡¢¤¹¤Ù¤Æ¤Î¥Ö¥í¥Ã¥¯¤Î½ñ¤¹þ¤ß¤¬½ª¤ë¤Þ¤Ç¤Ë¡¢¼ÂºÝ¤Ë¤Ï¾¯¤·»þ´Ö¤¬¤«¤«¤ë¡£
141 ¤ò¸Æ¤ó¤À¸å¤Ë¿ôÉô֥¹¥ê¡¼¥×¤¹¤ë¤³¤È¤Ç¡¢¤³¤ì¤ò¹Íθ¤ËÆþ¤ì¤Æ¤¤¤ë¡£
143 .\"O This page describes
145 .\"O as found in the file\%utils-4.0 package;
146 .\"O other versions may differ slightly.
147 ¤³¤Î¥Ú¡¼¥¸¤Ç¤Ï file\%utils-4.0 ¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Î
149 ¥³¥Þ¥ó¥É¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤¤¤ë¤Î¤Ç¡¢
150 ¤½¤Î¾¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¾¯¤·°ã¤¤¤¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¡£