Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
fdea0fab
Commit
fdea0fab
authored
18 years ago
by
Tim Yardley
Browse files
Options
Downloads
Patches
Plain Diff
make maxinodes configureable for ext2
SVN-Revision: 6345
parent
bc8f1f36
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Config.in
+13
-4
13 additions, 4 deletions
Config.in
include/image.mk
+1
-1
1 addition, 1 deletion
include/image.mk
with
14 additions
and
5 deletions
Config.in
+
13
−
4
View file @
fdea0fab
...
...
@@ -103,10 +103,19 @@ comment "Image Options"
source "target/linux/*/image/Config.in"
config TARGET_ROOTFS_FSPART
int "Filesystem part size (in MB)"
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
default 16
config TARGET_ROOTFS_FSPART
int "Filesystem part size (in MB)"
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
default 16
help
Allows you to change the filesystem partition size
config TARGET_ROOTFS_MAXINODE
int "Maximum number of inodes in filesystem"
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
default 1500
help
Allows you to change the maximum number of inodes in the filesystem
endmenu
...
...
This diff is collapsed.
Click to expand it.
include/image.mk
+
1
−
1
View file @
fdea0fab
...
...
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_TARGET_ROOTFS_EXT2FS),y)
E2SIZE
=
$(
shell
echo
$$(
(
$(
CONFIG_TARGET_ROOTFS_FSPART
)
*
1024
))
)
define
Image/mkfs/ext2
$(STAGING_DIR)/bin/genext2fs
-U
-b
$(E2SIZE)
-I
1500
-d
$(BUILD_DIR)/root/
$(KDIR)/root.ext2
$(STAGING_DIR)/bin/genext2fs
-U
-b
$(E2SIZE)
-I
$(CONFIG_TARGET_ROOTFS_MAXINODE)
-d
$(BUILD_DIR)/root/
$(KDIR)/root.ext2
$(
call
Image/Build,ext2
)
endef
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment