[syslinux] [PATCH v2] extlinux: Make sure ldlinux.sys file is installed
Paulo Alcantara
pcacjr at gmail.com
Wed Jan 9 16:02:45 PST 2013
On Wed, Jan 9, 2013 at 6:36 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> Actually it turns out that fsync() doesn't guarantee that the directory
> entry has hit disk. syncfs() is quite new (Linux 2.6.39) so it might be
> better to just use sync() here. Bootloader installation isn't too
> horribly common anyway.
Yeah, you're right. In the first time I thought that making
ldlinux.sys flushed out to disk would force the filesystem to create
the directory entry and flush it out too - however it might get
created on memory and kept there - whereas ldlinux.sys normally on
disk.
Matt, wouldn't you mind to make a patch that uses sync() there ?
-Paulo Alcantara
More information about the Syslinux
mailing list