summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-26Don't #define SIGINFO. am: 69a606c4a4Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1560733 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1ed915079d5f325db260566c2fc21b2da1f8d596
2021-01-26Update to upstream 6424881cc82a65a833fc6fb79730474caedf6222. am: 8c4b3f0afd ↵Elliott Hughes
am: 4bd115afd2 am: ec4355c4b2 Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1555547 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If798f740391d9edcdb1b44082bb0919498d6d4bd
2021-01-26Update to upstream 6424881cc82a65a833fc6fb79730474caedf6222. am: 8c4b3f0afd ↵Elliott Hughes
am: 4bd115afd2 Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1555547 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1f4c23cd3a35217fab5334fc32994622e43db66b
2021-01-26Update to upstream 6424881cc82a65a833fc6fb79730474caedf6222. am: 8c4b3f0afdElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1555547 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I85b8d8e2ce0d8133d877dd624a0c75e84b9149af
2021-01-26Don't use BLKBSZSET on Linux.Elliott Hughes
This was a workaround for the previous lack of buffering when newfs_msdos would write in 512 byte sectors even if the underlying block device was doing 1024 bytes. Now we have a 1MiB buffer, overriding the sector size shouldn't make a difference. This brings us closer in line with upstream, which never had this change. Test: treehugger Change-Id: I51f9a46b1d9418820b938541adb7e8bc22ac46b5
2021-01-26Don't #define SIGINFO.Elliott Hughes
We don't need it ourselves, and upstream now quietly does nothing on systems that don't have it. Also remove a commented-out #define that I accidentally added when creating this file. Test: treehugger Change-Id: I1da53f135949aaeb751ae11ff88a0ca7ce4bf99d
2021-01-26Update METADATA now FreeBSD is using git.Elliott Hughes
Test: treehugger Change-Id: I40597d3b56fcc99484bd2e55d09d3dab7c9883d3
2021-01-21Fixes the partition size for FAT. am: 7dd1b1bd08 am: b6b432c5a3 am: 58ec2d968cEd Tsai
Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1553820 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id7532028da2b361a75f23cbe9dd00235a697c41e
2021-01-20Update to upstream 6424881cc82a65a833fc6fb79730474caedf6222.Elliott Hughes
Test: treehugger Change-Id: Ib11457ec6d166e774c9a053e23db4131c0030321
2021-01-21Fixes the partition size for FAT. am: 7dd1b1bd08 am: b6b432c5a3Ed Tsai
Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1553820 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5f9fc0908572905373b7199cfe45af54ce0e4b83
2021-01-21Fixes the partition size for FAT. am: 7dd1b1bd08Ed Tsai
Original change: https://android-review.googlesource.com/c/platform/external/newfs_msdos/+/1553820 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0cf18f63c856b1a9181eb7a3c48817c4dc6e281c
2021-01-20Fixes the partition size for FAT.Ed Tsai
BLKGETSIZE is in units of 512 bytes rather than bytes or the sector size returned by BLKSSZGET. Use BLKGETSIZE64 instead, to get the block size in bytes. Also rename block_size to make it clearer that it's actually the size of the whole block device. Change-Id: I9eb6cd4394722f8624c6ac6368b6da31583f026e Test: Create an new filesystem by newfs_msdos
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: ec6dda9d4d -s ours am: f5c09b952a am: d9cb527be6 am: 52a1f47740 -s ours am skip reason: subject contains skip directive Change-Id: If32c2e9084d286316c47ac591e762b49f1e08bc3
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: ec6dda9d4d -s ours am: f5c09b952a am: d9cb527be6 Change-Id: I970dd1fe0d01290b0e3cc0ebf56204f659cfcd33
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: ec6dda9d4d -s ours am: f5c09b952a Change-Id: Ie15636357bfc9868e03a27d0ecd07cbc18385612
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: ec6dda9d4d -s ours am skip reason: subject contains skip directive Change-Id: I0067309e469d379b8d9fb4cb523b63caddbda56b
2020-04-09DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-masterandroid-r-beta-3android-r-beta-2Xin Li
Bug: 151763422 Change-Id: I31cbf9de50dc26fa94bb48f792a01b0ee38d0290
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70 am: ↵hyeongseok.kim
7ffd5f2b9d am: 6d594f51ba am: 78bdd13165 am: 649ded055b Change-Id: I76df3eb022e14edaed6cb397ea143e409bdeabd3
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70 am: ↵hyeongseok.kim
7ffd5f2b9d am: 6d594f51ba am: 78bdd13165 Change-Id: I3df1d1fcfb808bb40d2568fe94742b1767ad4220
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70 am: ↵hyeongseok.kim
7ffd5f2b9d am: 6d594f51ba Change-Id: Ia33993d7c7f6bde2e2c3a096cd2a327eabe8289b
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70 am: 7ffd5f2b9dhyeongseok.kim
Change-Id: If30aff0c83ab27c157e917f16272a1b946e9beef
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70 am: 7ffd5f2b9dhyeongseok.kim
Change-Id: I128103adfd4c84c72e4c747b1d284d86f118142d
2020-04-09set bdev->bd_block_size to reduce formatting time am: 41c6a50a70hyeongseok.kim
Change-Id: I3831c67ba517288c01a0116a04d778c54eeb4b85
2020-04-08set bdev->bd_block_size to reduce formatting timehyeongseok.kim
When bdev->bd_block_size is bigger than bytesPerSec, e.g. 1024 bytes, block write should read first to sync-up the mapped block. This fix could prevent unnecessary read by temporarily change bd_block_size to bytesPerSec size while flushing fat data. bd_block_size would be reconfigured again at open() or mount() time. Test: newfs_msdos -A /dev/<foo> (/dev/block/sdh1) [2TB disk / 32kb cluster] : FAT#1/#2 476879KiB/512 bytes to write, before : 476864 read I/Os (each 1024 bytes) : takes 180 seconds after : 0 read I/Os : takes 20 seconds Bug: 152893650 Change-Id: Idaa8d73e056cf740647345457ef9061c429f35a7 Signed-off-by: hyeongseok.kim <hyeongseok@gmail.com>
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610 am: 5b649134cb ↵Bob Badour
am: d2512c49f3 am: 34f3d1800c am: 131ef9ff25 Change-Id: Idd5d3e47342c43be17502e0d5f76bff2544b7e58
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610 am: 5b649134cb ↵Bob Badour
am: d2512c49f3 am: 34f3d1800c Change-Id: Id595b25b8650fae94707481b344686d1edcacb5c
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610 am: 5b649134cb ↵Bob Badour
am: d2512c49f3 Change-Id: Id4518e2997e991d95d7443902eb4a99d5fc25fc2
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610 am: 5b649134cbBob Badour
Change-Id: I55a5c0f61b4ff4e14323752cd269a98b3b430ad8
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610 am: 5b649134cbBob Badour
Change-Id: I183340078c09e0ca9575fb3063b6c3867cd2c91a
2020-03-26Remove redundant NOTICE copied from LICENSE. am: 07723d7610Bob Badour
Change-Id: Ie036d238f126209b08a6a75b20166dc2020d53c8
2020-03-25Remove redundant NOTICE copied from LICENSE.Bob Badour
Identified using the below shell script: $ find -H . -name LICENSE -type f -print0 | xargs -0 dirname \ | while read dir; do \ if [ -f "${dir}/NOTICE" ] \ && diff "${dir}/LICENSE" "${dir}/NOTICE" >/dev/null; then \ echo "${dir}/NOTICE"; \ fi; \ done Now that http://r.android.com/r/1235427 and http://r.android.com/r/1238719 are merged, LICENSE files copied into NOTICE files are no longer needed. Bug: 67772237 Bug: 68860345 Test: manually built and diffed before and after system image notices Change-Id: I8bc449e39b289d1313dd43d1b1df40291eaffc58
2019-02-24[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterr_aml_301500702q_tzdata_aml_297100400q_tzdata_aml_297100300q_tzdata_aml_297100000q_tzdata_aml_296200000q_tzdata_aml_295600118q_tzdata_aml_295600110q_tzdata_aml_295500002q_tzdata_aml_295500001q_tzdata_aml_294400310android-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-r-preview-4android-r-preview-3android-r-preview-2android-r-preview-1android-platform-11.0.0_r9android-platform-11.0.0_r8android-platform-11.0.0_r7android-platform-11.0.0_r6android-platform-11.0.0_r5android-platform-11.0.0_r40android-platform-11.0.0_r4android-platform-11.0.0_r39android-platform-11.0.0_r38android-platform-11.0.0_r37android-platform-11.0.0_r36android-platform-11.0.0_r35android-platform-11.0.0_r34android-platform-11.0.0_r33android-platform-11.0.0_r32android-platform-11.0.0_r31android-platform-11.0.0_r30android-platform-11.0.0_r3android-platform-11.0.0_r29android-platform-11.0.0_r28android-platform-11.0.0_r27android-platform-11.0.0_r26android-platform-11.0.0_r25android-platform-11.0.0_r24android-platform-11.0.0_r23android-platform-11.0.0_r22android-platform-11.0.0_r21android-platform-11.0.0_r20android-platform-11.0.0_r2android-platform-11.0.0_r19android-platform-11.0.0_r18android-platform-11.0.0_r17android-platform-11.0.0_r16android-platform-11.0.0_r15android-platform-11.0.0_r14android-platform-11.0.0_r13android-platform-11.0.0_r12android-platform-11.0.0_r11android-platform-11.0.0_r10android-platform-11.0.0_r1android-mainline-12.0.0_r55android-mainline-12.0.0_r54android-mainline-12.0.0_r111android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r13android-mainline-10.0.0_r12android-mainline-10.0.0_r11android-mainline-10.0.0_r10android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r6android-11.0.0_r5android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r4android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r3android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r25android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r2android-11.0.0_r19android-11.0.0_r18android-11.0.0_r17android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android-11.0.0_r1android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12q_tzdata_aml_297100000ndk-sysroot-r21android12-mainline-tzdata-releaseandroid11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-platform-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-gsiandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseandroid10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-tzdata-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseandroid10-android13-mainline-tzdata-releaseXin Li
am: fb3ab43ccd -s ours am skip reason: subject contains skip directive Change-Id: I73457237871945f967aea0e8162d4a6231d94ea6
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: I702c928fddd640ae08e5d14ff095aa4a203aa176
2018-12-13Add OWNERS. am: 0ff97691c9 am: 844a433da9Elliott Hughes
am: 3e6d0977e2 Change-Id: If99708bfd74a762fdc3fe26ea82a6be1b00806f0
2018-12-13Add OWNERS. am: 0ff97691c9Elliott Hughes
am: 844a433da9 Change-Id: I2dccc0a2efaa59c99290bb7c9967ce3767364263
2018-12-13Add OWNERS.Elliott Hughes
am: 0ff97691c9 Change-Id: I7ea8d8ed92ae9bf0c3b7468a72ab0b5be10611e5
2018-12-12Add OWNERS.android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Elliott Hughes
Test: N/A Change-Id: Icf1f4f5593bf66dfc43e3730cd18ecd6615c64fc
2018-06-20Remove failing HDIO_GETGEO ioctl. am: 188c86eb24 am: 92fe5db069Elliott Hughes
am: 0c7e133c7f Change-Id: If7140285c8707293b6cf00de3fe8172d99703f4e
2018-06-20Remove failing HDIO_GETGEO ioctl. am: 188c86eb24android-wear-8.0.0_r2Elliott Hughes
am: 92fe5db069 Change-Id: I73ab3b65404b14ce47673f63ad2117f79a35fe4b
2018-06-20Remove failing HDIO_GETGEO ioctl.master-cuttlefish-testing-releaseElliott Hughes
am: 188c86eb24 Change-Id: I9d6320dcc8385375eca6499d366621b1203fb109
2018-06-20Remove failing HDIO_GETGEO ioctl.android-p-preview-5android-p-preview-4Elliott Hughes
This was copied across from the toolbox code, but it's outlived its usefulness: the ioctl is failing all the time now because we're acting on a partition rather than the underlying block device. Bug: http://b/29899852 Test: adb shell sm set-virtual-disk true Change-Id: I7f77e342e226b40ded1155f3e320b2604b4c0404
2018-06-20Build external/newfs_msdos. am: 5946c623c5 am: 105322515dElliott Hughes
am: 0163d9ee79 Change-Id: I0614baff7da604f42fc26752bda3ae7629620f7d
2018-06-20Build external/newfs_msdos. am: 5946c623c5Elliott Hughes
am: 105322515d Change-Id: I6e7d87b4944e38bf3d4599f543f486ccad3e42cc
2018-06-20Build external/newfs_msdos.Elliott Hughes
am: 5946c623c5 Change-Id: I8e2cdf8cdddb58e5ba3c2e1429201a3282e04f39
2018-06-20Build external/newfs_msdos.Elliott Hughes
Bug: http://b/29899852 Test: builds Change-Id: I3013d10d7a225ca474ce03026a5b38c6ab33fcab
2018-06-19Integrate FreeBSD r335189 for -A option. am: 4d60a2217e am: 5c6235eb93Xin Li
am: 93156a8e99 Change-Id: I393cbe2a4ebfb02d0b9281215105c88f85f644c7
2018-06-19Integrate FreeBSD r335189 for -A option. am: 4d60a2217eXin Li
am: 5c6235eb93 Change-Id: If08f129615c197a4b66642f1a271a620d431f393
2018-06-19Integrate FreeBSD r335189 for -A option.Xin Li
am: 4d60a2217e Change-Id: Iada05bb3dc7acd2b4101d26c4a05ece77754a42e
2018-06-19Integrate FreeBSD r335189 for -A option.Xin Li
Bug: 110053628 Change-Id: Ic59054c7e13849b392971746cdaa901f11552fca
2018-06-14Initial commit for platform/external/newfs_msdos. am: 6d2f393ed5 am: 69e7e394c3Elliott Hughes
am: 78dd8c6f6f Change-Id: I262138ebec24d3262c4d9efa1816ea5a4c7fd07b