[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #32472] GRUB2 does not flush data correctly after installing
From: |
КоренбергМарк |
Subject: |
[bug #32472] GRUB2 does not flush data correctly after installing |
Date: |
Sat, 09 Apr 2011 14:28:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 |
Follow-up Comment #4, bug #32472 (project grub):
Okay, you just replace close() with fsync() + ioctl.
1. The original request was to replace sync() with appropriate call(s) (see
util/grub-setup.c)
2. ioctl is appropriate only if opened file was "block device". issuing
BLKFLSBUF on generic file may lead to unexpected behaviour. So, if user wants
to install grub into generic file (disk image), we should call fsync() only.
If user wants to install to block device (normal usage) we should call
ioctl()
So, please reopen bug. bug is not closed. You accidentally closed another bug.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32472>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/08
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing,
КоренбергМарк <=
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/15
- Message not available
- Message not available
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/22
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/25
- [bug #32472] Shouldn't use sync (), Vladimir Serbinenko, 2011/04/25
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/25