On Sun, Apr 23, 2017 at 09:58:14PM +0100, Sami Kerola wrote: > Tell in manual page that one should use open(2) O_DIRECT flag rather than > raw device. > > Signed-off-by: Sami Kerola <kerolasa@xxxxxx> > --- > disk-utils/raw.8 | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/disk-utils/raw.8 b/disk-utils/raw.8 > index 717f4ef1b..5d04aa226 100644 > --- a/disk-utils/raw.8 > +++ b/disk-utils/raw.8 > @@ -88,6 +88,13 @@ device buffer cache. If you use raw I/O to overwrite data already in > the buffer cache, the buffer cache will no longer correspond to the > contents of the actual storage device underneath. This is deliberate, > but is regarded either a bug or a feature depending on who you ask! > +.SH NOTES > +Kernel developers consider raw driver deprecated. Applications should Maybe you want to see "git log disk-utils/raw.8", raw devices are not deprecated any more. See kernel commit abd4aa5a97ebc0efb9a7fbc98ef0bcf39266fadf. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html