.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995. .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" Modified 1997-01-31 by Eric S. Raymond .\" Modified 2004-06-17 by Michael Kerrisk .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH bdflush 2 "2022년 12월 4일" "Linux man\-pages 6.03" .SH 이름 bdflush \- start, flush, buffer\-dirty\-flush데몬은 조정한다. .SH 요약 .nf \fB#include \fP .PP \fB[[deprecated]] int bdflush(int \fP\fIfunc\fP\fB, long *\fP\fIaddress\fP\fB);\fP \fB[[deprecated]] int bdflush(int \fP\fIfunc\fP\fB, long \fP\fIdata\fP\fB);\fP .fi .SH 설명 .\" As noted in changes in the 2.5.12 source \fINote\fP: Since Linux 2.6, this system call is deprecated and does nothing. It is likely to disappear altogether in a future kernel release. Nowadays, the task performed by \fBbdflush\fP() is handled by the kernel \fIpdflush\fP thread. .PP \fBbdflush\fP() starts, flushes, or tunes the buffer\-dirty\-flush daemon. Only a privileged process (one with the \fBCAP_SYS_ADMIN\fP capability) may call \fBbdflush\fP(). .PP \fIfunc\fP 가 음수이거나 0, 그리고 어떠한 데몬도 실행되지 않았다면 \fBbdflush\fP() 는 데몬 코드를 입력하고 반환하지 않는다. .PP \fIfunc\fP 가 1이면 몇몇 dirty buffer가 디스크에 기록된다. .PP \fIfunc\fP 가 2이상이고 짝수이면, \fIaddress\fP 는 길어지고, 튜닝매개변수 번호 (\fIfunc\fP\-2)/2 는 그 주소에 호출자로 반환된다. .PP If \fIfunc\fP 가 3이상이고 홀수이면, \fIdata\fP 는 길어지고, 커널은 설정튜닝 매개변수 번호 (\fIfunc\fP\-3)/2 에 그 값을 설정한다. .PP The set of parameters, their values, and their valid ranges are defined in the Linux kernel source file \fIfs/buffer.c\fP. .SH 반환값 If \fIfunc\fP 는 음수이거나 0이고 데몬이 성공적으로 시작했다. \fBbdflush\fP() 는 반환하지 않는다. 그 외에, 반환값은 성공시 0이고 실패시 \fIerrno\fP 는 에러를 나타내도록 설정되면서 \-1을 반환한다. .SH 에러 .TP \fBEBUSY\fP 시도는 다른 프로세스가 이미 입력된 후에 데몬코드가 입력되게 만든다. .TP \fBEFAULT\fP \fI주소\fP 가 당신이 접근할 수 있는 주소공간 밖에 있다. .TP \fBEINVAL\fP 시도는 무효의 매개변수 번호에 읽거나 쓰도록 만들거나 매개변수에 무효값은 쓴다. .TP \fBEPERM\fP Caller does not have the \fBCAP_SYS_ADMIN\fP capability. .SH 버전S Since glibc 2.23, glibc no longer supports this obsolete system call. .SH 표준 \fBbdflush\fP()는 리눅스에서만 쓰고 이식하기 위한 프로그램에는 쓰이지 않아야만 한다. .SH "추가 참조" \fBsync\fP(1), \fBfsync\fP(2), \fBsync\fP(2) .PP .SH 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.