Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ファイルシステムサイズ拡張スクリプトの見直し #9

Closed
tsutsui opened this issue Feb 17, 2019 · 1 comment
Closed

Comments

@tsutsui
Copy link
Owner

tsutsui commented Feb 17, 2019

現状 USBメモリ版にのみファイルシステムサイズを実デバイスサイズに拡張するためのスクリプトを入れている。
http://www.ceres.dti.ne.jp/tsutsui/netbsd/liveimage/#expand-image

NetBSD/evbarm のイメージでは rc.d(8) のしくみで resize_disklabel というものが作られており、起動時事に自動的にファイルシステム拡張ができるようになっている。
https://nxr.netbsd.org/xref/src/distrib/utils/embedded/files/resize_disklabel

ておくれ Live Image としてどちらで行くかを検討する。

現状のメリット(resize_disklabel のデメリット):

  • リサイズを行う/行わないをユーザー意志で決定できる

現状のデメリット(resize_disklabel のメリット):

  • リサイズの実行に特別な操作が不要
    (毎回起動時にリサイズ処理が走って、リサイズ済みの場合は何もせず終了する)

どっちもどっちという感じではあるが……

@tsutsui
Copy link
Owner Author

tsutsui commented Dec 5, 2023

#12 で UEFI版のスクリプトも書けたので、NetBSD付属の resize_disklabel および resize_gpt は使わずにこのままで行く。
(あと resize_gpt は swapありの UEFIイメージには対応してなさそう)

@tsutsui tsutsui closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant