|Subject:||how to sync / commit data to disk?|
|From:||"Peter Gervai" <grinapo@xxxxxxxxx>|
|Date:||Tue, 23 Jan 2007 16:16:59 +0100|
|Domainkey-signature:||a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ng242LHfpHhFJ+0B3HMI/HVT3s04lo+TkvcHec9+9T8pQZnIHlJl9RwTf0CT6v57VhrhyBJ8JNaBYYLTUzuFaZSXNh1IUb0d77xyyZPMk+C4zyGvSQe6QctiMDwz0QXvMFhyiFnRxxCeZ41W12oT/j93RrCUQ08WNfARVi2njXM=|
[Tried to search archieves, found nothing, probably my keywords are bad. :-)]
What is the recommended way to make sure that a file is written physically to the disk? (apart from the cache of the disk.)
This problem seem to have arisen in grub bootloader under Debian linux (and most probably everywhere else): it must be sure that the copied files are there, and can be addressed by C/H/S and modified there, at the given sector address.
My educated guess would be xfs_freeze -f sync xfs_freeze -u
but I give a large chance to be wrong about it.
Please cc on me if possible. Thanks.
-- byte-byte, grin
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Will xfs_growfs succeed on a full file system?, Geir A. Myrestrand|
|Next by Date:||Re: how to sync / commit data to disk?, Eric Sandeen|
|Previous by Thread:||Will xfs_growfs succeed on a full file system?, Geir A. Myrestrand|
|Next by Thread:||Re: how to sync / commit data to disk?, Eric Sandeen|
|Indexes:||[Date] [Thread] [Top] [All Lists]|