From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 Date: Tue, 31 Aug 2021 11:07:44 +0300 From: "Alexey V. Vissarionov" To: ALT Linux Team development discussions Message-ID: <20210831080743.GA7959@altlinux.org> References: <20210831064805.GA13999@gyle.altlinux.org> <20210831075139.GA12811@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210831075139.GA12811@altlinux.org> Subject: Re: [devel] I: linux/raw.h is no more available X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2021 08:07:50 -0000 Archived-At: List-Archive: List-Post: 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 >> 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 больше нет , см. 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 -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net