ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: linux/raw.h is no more available
Date: Tue, 31 Aug 2021 10:22:44 +0200
Message-ID: <20210831082244.xfvaz2wnmubwmdf4@example.org> (raw)
In-Reply-To: <20210831080743.GA7959@altlinux.org>

On Tue, Aug 31, 2021 at 11:07:44AM +0300, Alexey V. Vissarionov wrote:
> On 2021-08-31 10:51:39 +0300, Dmitry V. Levin wrote:
>  >> fio-3.26-alt1
>  >>	from crc/crc32c-arm64.c:2:
>  >>	crc/../os/os-linux.h:17:10: fatal error: linux/raw.h:
>  >>	No such file or directory
>  >>	17 | #include <linux/raw.h>
>  >> util-linux-2.37.2-alt1
>  >>	checking for syscall pivot_root... SYS_pivot_root
>  >>	configure: error: raw selected, but required raw.h
>  >>	header file not available
>  > В linux 5.14 больше нет <linux/raw.h>, см.  https://git.kernel.org/torvalds/c/603e4922f1c8
> 
> Дим, а что тебе помешало процитировать оттуда буквально пару
> строчек?

Наверное, потому что всё и так было понятно.

> remove the raw driver
> 
> The raw driver used to provide direct unbuffered access to block
> devices before O_DIRECT was invented. It has been obsolete for
> more than a decade.
> 
> Или даже `man raw`:
> 
> NOTES
> Rather than using raw devices applications should prefer open(2)
> devices, such as /dev/sda1, with the O_DIRECT flag.

Алексей, а что помешало перевести эти строчки (вдруг кто-то не только
браузером не обладает, но и английским не владеет) ?

> Всем (даже тем, кто этим никогда не интересовался) сразу было бы
> понятно, что вместо /dev/raw* следует использовать O_DIRECT

-- 
Rgrds, legion



  reply	other threads:[~2021-08-31  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31  7:51 ` [devel] I: linux/raw.h is no more Dmitry V. Levin
2021-08-31  8:07   ` [devel] I: linux/raw.h is no more available Alexey V. Vissarionov
2021-08-31  8:22     ` Alexey Gladkov [this message]
2021-08-31  9:50   ` [devel] I: linux/raw.h is no more Vitaly Lipatov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210831082244.xfvaz2wnmubwmdf4@example.org \
    --to=legion@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git