Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
メモリ上に作るファイルシステムとブロックデバイス
Search
Satoru Takeuchi
PRO
July 05, 2020
Technology
1k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
メモリ上に作るファイルシステムとブロックデバイス
以下動画のテキストです。
https://youtu.be/wnMGqK_Rl2Q
Satoru Takeuchi
PRO
July 05, 2020
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
76
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
100
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
70
Machine Check Exception
sat
PRO
2
68
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
100
114-ファイルのshallow_copy.pdf
sat
PRO
2
59
113-Btrfsのスナップショット.pdf
sat
PRO
0
43
Other Decks in Technology
See All in Technology
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2k
SREでアラート疲れを 解決しよう!
kairim0
1
210
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
950
20260930_Gemma4_Hands-on
tsho
0
240
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
320
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
270
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
540
[2026-09-30]ロックンロールは鳴り止まないっ - 信頼性かまってちゃん - 「データ駆動を投げ捨ててまで。」追いかける信頼性改善に向けた取り組みの話
tosite
0
210
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
7
1.7k
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
140
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
300
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
290
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
910
The Mindset for Success: Future Career Progression
greggifford
PRO
0
530
How to build a perfect <img>
jonoalderson
1
6.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Ethics towards AI in product and experience design
skipperchong
2
420
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Google's AI Overviews - The New Search
badams
0
1.6k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
780
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
Transcript
メモリ上に作る ファイルシステムと ブロックデバイス Jul 4th, 2020 Satoru Takeuchi Twitter: satoru_takeuchi
もくじ • ファイルシステムとブロックデバイス • メモリベースのファイルシステムtmpfs • メモリベースのブロックデバイスbrd • まとめ
もくじ • ファイルシステムとブロックデバイス • メモリベースのファイルシステムtmpfs • メモリベースのブロックデバイスbrd • まとめ
ブロックデバイスとファイルシステム プロセス ストレージデバイス ファイルシステム デバイスファイル(/dev/sdaなど) ソフトウェア ハードウェア ユーザ空間 カーネル空間 データ読み書き
データ読み書き データ読み書き データ読み書き (mkfsなど)
もくじ • ファイルシステムとブロックデバイス • メモリベースのファイルシステムtmpfs • メモリベースのブロックデバイスbrd • まとめ
メモリベースのファイルシステムtmpfs プロセス tmpfs(ファイルシステム) ソフトウェア ハードウェア ユーザ空間 カーネル空間 データ読み書き データ読み書き メモリ
用途: • 一時的なデータ置き場 (/tmpなど) • ビルド高速化 • その他 その他うれしいところ • 実際に使った領域だけメモリを消費
つかいかた • 初期化 ◦ mount -t tmpfs -o size=<最大サイズ> nodev
<マウントポイント> ▪ Size: デフォルトは搭載物理メモリ量の半分 • 使用 ◦ 通常のファイルシステムと同じ • 終了 ◦ umount <マウントポイント>
もくじ • ファイルシステムとブロックデバイス • メモリベースのファイルシステムtmpfs • メモリベースのブロックデバイスbrd • まとめ
メモリベースのブロックデバイスbrd プロセス ファイルシステム デバイスファイル(/dev/ram0など) ソフトウェア ハードウェア ユーザ空間 カーネル空間 データ読み書き データ読み書き
データ読み書き データ読み書き (mkfsなど) メモリ 用途: • ブロックデバイスを扱う ソフトウェアのテスト • ファイルシステムの評価 その他うれしいところ • 実際に使った領域だけ メモリを消費
つかいかた • 初期化 ◦ modprobe brd ◦ modprobe brd rd_nr=<デバイス数>
rd_size=<KiB単位のサイズ> ▪ rd_nrのデフォルトは16 ▪ rd_sizeのデフォルトは64MiB • 使用 ◦ 通常のブロックデバイスと同じ • 終了 ◦ Modprobe -r brd
もくじ • ファイルシステムとブロックデバイス • メモリベースのファイルシステムtmpfs • メモリベースのブロックデバイスbrd • まとめ
まとめ • メモリベースのファイルシステムtmpfsについて学んだ • メモリベースのブロックデバイスbrdについて学んだ