JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ort [ device ...] blockdev -h | -V 説明 blockdev ユーティリティを使えば、コマンドラインからブロックデバイスの ioctl を呼び出すことができる。 オプショ ... ブロックデバイスをオープンしている現在のファイルディスクリプターに限定されたものである。 そのため、ブロックサイズの変更は blockdev がデバイスをオープンしている間だけ続き、blockdev が終了すると失われる。 --setfra sectors ファイルシステムの先読みの大きさを ... マウントされているファイルシステムは、影響を受けない。 変更は再マウント後に適用される。 --setrw 読み書き可に設定する。 作者 blockdev を書いたのは Andries E. Brouwer であり、それを Karel Zak が書き直した。 入手方法 この blockdev コマンドは、util-linux パッ ... ... 。 バインド先のブロックデバイスは、 major と minor 番号で示しても良いし、存在しているブロックデバイスファイルのパス名 /dev/<blockdev> で示しても良い。 既に存在しているバインドに対して、 -q オプションによって問合わせを行うことができる。 この際には、問合わせ ... ... che, and grow dynamically. For a lot of information on the current ramdisk setup, see the kernel source file Documentation/blockdev/ramdisk.txt ( Documentation/ramdisk.txt in older kernels). 4 つのパラメーターがある。論理値をとるものが 2 つ、整数値をとる ... を参照すると良い。 フロッピーディスクドライバ There are many floppy driver options, and they are all listed in Documentation/blockdev/floppy.txt (or Documentation/floppy.txt in older kernels, or drivers/block/README.fd for ancient kernels) in the Linux ker ... ... ように)。 -s , --getsz 指定した各ブロックデバイスについて 512-byte セクタでサイズを表示する。このオプションは非推奨であり、 blockdev (8) を使った方がよい。(訳注: 実のところ、手元の v2.35.2 の fdisk -s では、1 セクタ 1024 バイト計算のセクタ数を表示する。 b ... ... device ...] すべての、または指定されたデバイスのサイズを、1024 バイト単位で一覧表示する。このコマンドは「非推奨」である。 blockdev (8) の使用をお勧めする。 -T , --list-types 現在のディスクラベル、または --label オプションで指定されたディスクラベル (訳注 ... 2.26 以来、 sfdisk は、カーネルにパーティションテーブルを再読込させる -R や --re-read オプションを提供していない。代わりに blockdev --rereadpt を使用していただきたい。 バージョン 2.26 以来、 sfdisk は、以下のオプションも提供していない。 --DOS , --IBM , - ... ... he file descriptor with the O_NONBLOCK flag clear would not block. Note that this flag has no effect for regular files and block devices; that is, I/O operations will (briefly) block when device activity is required, regardless of whether O_NONBLOCK is s ... ally be implemented, applications should not depend upon blocking behavior when specifying this flag for regular files and block devices. FIFO (名前付きパイプ) を扱う場合には fifo (7) も参照すること。 強制ファイルロック (mandatory file lock) やファイルリ ... otected_fifos and /proc/sys/fs/protected_regular in proc (5). EBUSY O_EXCL was specified in flags and pathname refers to a block device that is in use by the system (e.g., it is mounted). EDQUOT O_CREAT が指定された場合で、そのファイルが存在せず、ディスク ... ... he file descriptor with the O_NONBLOCK flag clear would not block. Note that this flag has no effect for regular files and block devices; that is, I/O operations will (briefly) block when device activity is required, regardless of whether O_NONBLOCK is s ... ally be implemented, applications should not depend upon blocking behavior when specifying this flag for regular files and block devices. FIFO (名前付きパイプ) を扱う場合には fifo (7) も参照すること。 強制ファイルロック (mandatory file lock) やファイルリ ... otected_fifos and /proc/sys/fs/protected_regular in proc (5). EBUSY O_EXCL was specified in flags and pathname refers to a block device that is in use by the system (e.g., it is mounted). EDQUOT O_CREAT が指定された場合で、そのファイルが存在せず、ディスク ... ... he file descriptor with the O_NONBLOCK flag clear would not block. Note that this flag has no effect for regular files and block devices; that is, I/O operations will (briefly) block when device activity is required, regardless of whether O_NONBLOCK is s ... ally be implemented, applications should not depend upon blocking behavior when specifying this flag for regular files and block devices. FIFO (名前付きパイプ) を扱う場合には fifo (7) も参照すること。 強制ファイルロック (mandatory file lock) やファイルリ ... otected_fifos and /proc/sys/fs/protected_regular in proc (5). EBUSY O_EXCL was specified in flags and pathname refers to a block device that is in use by the system (e.g., it is mounted). EDQUOT O_CREAT が指定された場合で、そのファイルが存在せず、ディスク ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。