6cc2c81f4d
This adds the ability to format f2fs and ext4 in a way that supports casefolding and project quotas. Project quotas require wider inodes, and thus cannot be enable apart from at build time. Casefolding can be configured with f2fs.fsck/tune2fs later. Both features are enabled via inheriting emulated_storage.mk in the device.mk Bug: 138322712 Bug: 138321217 Test: Enable on device with related patches, view fs configuration on /data Change-Id: Ib1ab0589006ff1b3fb7478b7e9b0a8aad71e4b09
21 lines
777 B
Makefile
21 lines
777 B
Makefile
#
|
|
# Copyright (C) 2020 The Android Open-Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
PRODUCT_QUOTA_PROJID := 1
|
|
PRODUCT_PRODUCT_PROPERTIES += ro.emulated_storage.projid=1
|
|
|
|
PRODUCT_FS_CASEFOLD := 1
|
|
PRODUCT_PRODUCT_PROPERTIES += ro.emulated_storage.casefold=1
|