0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][directory] マウントオプション_/etc/fstab

Last updated at Posted at 2025-02-02

マウントオプション

オプション defaults 由来 説明
defaults - default options デフォルトのオプション(rw, suid, dev, exec, auto, nouser, async)を適用
rw read-write 読み書き可能でマウント
ro - read-only 読み取り専用でマウント
nouser no user mount - マウント: 一般ユーザー不可
- アンマウント: 一般ユーザー不可
owner - owner only - マウント: ファイル所有者
- アンマウント: マウントユーザーのみ可
user - allow user - マウント: 一般ユーザー可
- アンマウント: マウントユーザーのみ可
users - allow users - マウント: 一般ユーザー可
- アンマウント: 一般ユーザー可
auto automatic mount mount -a で自動マウントされる
noauto - no automatic mount mount -a ではマウントされない
exec execute 実行ファイルの実行を許可
noexec - no execute 実行ファイルの実行を禁止
suid set-user-ID setuid/setgid ビットを有効化
nosuid - no set-user-ID setuid/setgid ビットを無効化
dev device デバイスファイルの使用を許可
nodev - no device デバイスファイルの使用を禁止
async asynchronous I/O データの書き込みを非同期で実行
sync - synchronous I/O データの書き込みを同期的に実行

/etc/fstabファイルの中身

image.png
(1) デバイス名
(2) マウントポイント
(3) ファイルシステムの種類
(4) マウントオプション
(5) dumpフラグ
(6) fsckフラグ

Ping-t

/etc/fstabファイルの中身

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?