Quote:
Originally Posted by louigi600
I prefer to make the filesystem with mke2fs and specify all the options I like.
Here is an example
[CODE] mke2fs -t ext4 -b 4096 -i 16384 -m 1 -L ma_label -j /dev/my_device [\CODE]
|
Thanks for sharing.
Quote:
Based on the size of the filesystem I may resort to deciding the total number of inodes via -N or have less then 1 inode for every 4 blocks.
The block size has a fairly important impact on wasted space as on avarage you will waste 1/2 a block for every file on your filesystem.
Small blocks will waste less space but will perform worse for I/O, while large blosks do the exact opposite.
The default reserved space used to default to 5% which is huge on a 1TB filesystem ... I will generally specify what I think is appropriate for the fs I'm making.
|
Thanks again, that's almost a guide ☺
Quote:
Not sure what you mean by "Required fsck" ... I don't run it after I make the fs and the "-f" flag does not make it mandatory for fsck to run during initialization.
|
I let that untouched from the blog I took most of what I wrote. I believe the author thinks it is a necessary step.
Quote:
I've a blog about running linux on flash: http://www.linuxquestions.org/questions/blog/louigi600-808242/some-thoughts-on-running-linux-off-flash-mass-storage-36895/
|
Great, I'll study that before first launch, thanks again.