Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/android_external_f2fs-tools


https://github.com/PitchBlackRecoveryProject/android_external_f2fs-tools

fix typo around CONFIG_64BIT usage

Would do 64 BITS_PER_LONG when CONFIG_64BIT was NOT defined,
causing BITS_PER_LONG to be wrong o...

cb54e79739672366d849e02a3068f857c6bb544c authored almost 11 years ago by JP Abgrall <[email protected]>
mkfs: completely abstract the dev IO during format

This change allows for f2fs_format to work on a non-standard device (e.g.
sparse-memory backed f...

437dbf67730d2765c4dfc8539b07258e1ca3966f authored almost 11 years ago by JP Abgrall <[email protected]>
fibmap: fix wrong block count

This is an obvious bug fix patch.

Signed-off-by: Jaegeuk Kim <[email protected]>

1aae03594ba111174ed4902a29b969a1fb145adf authored almost 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: add inline data check

Add inline data check

Signed-off-by: Weihong Xu <[email protected]>
Signed-off-by: Huajun Li...

061ee67915ba3e8c86bde89a2efb1b8a9aadfb37 authored about 11 years ago by Huajun Li <[email protected]>
README: add libtool guide

The f2fs-tools needs libtool package to compile sources.

Suggested-by: Sérgio Benjamim <sergio_...

11d187cdfa2dcf504aa25b5a1aab4228f19f22ff authored about 11 years ago by Jaegeuk Kim <[email protected]>
mkfs: remove stale node blocks

If the device does not support discard, we should write zero blocks
to avoid roll-forward recove...

ffbada4298c7aed059bb99a8d553d6dd555963c0 authored about 11 years ago by Jaegeuk Kim <[email protected]>
fsck: fix orphan node blocks

Previously, fsck handles only the orphan inode block excpet its indirect node
blocks.
This cause...

f1d452af4a353380483b916a3e1c44fc8eb796b7 authored about 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: release 1.2.0

This version includes:
- initial fsck and dump tools
- libraries for f2fs
- bug fixes
- etc

Sig...

576cb469e73b9342f1d10ba5d0428bbce22cbc3b authored about 11 years ago by Jaegeuk Kim <[email protected]>
mkfs: add two file extensions for android

This patch adds two file extensions, jpeg and video, to identify cold files
in android systems.
...

2ad1fcd800747851a1db9a84acc87086c621f54d authored about 11 years ago by Jaegeuk Kim <[email protected]>
scripts: add some scripts

1. dumpf2fs.sh
: to see internal device with hexdump
2. spo_test.sh
: to run SPOR
3. tracepoin...

5b9f641c0608ad87f127b4cb766de91d7d80449a authored about 11 years ago by Jaegeuk Kim <[email protected]>
README: add description how to cross-compile

This patch adds description for the cross-compilation.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@...

050e8712a60c7d982a7be8c076fb72452364dae4 authored about 11 years ago by Jaegeuk Kim <[email protected]>
fsck: fix checking orphan inodes

This patch fixes bugs in the orphan inode procedure.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@sa...

8e678b2edfba95f3edbb1730c69da365d659e95d authored about 11 years ago by Jaegeuk Kim <[email protected]>
libf2fs: avoid warning of implicit declaration

This patch adds extern declaration.

Signed-off-by: Jaegeuk Kim <[email protected]>

465e4e7f10f59efba184fdd0788e92ea1488011c authored about 11 years ago by Jaegeuk Kim <[email protected]>
fsck: fix to handle file types correctly

The file type is based on the number, not bit operations.

Signed-off-by: Jaegeuk Kim <jaegeuk.k...

76a069430a295a27bf478d4a5d2fd71112a11a54 authored about 11 years ago by Jaegeuk Kim <[email protected]>
fsck: skip to check block addresses in device files

The device files use i_addr or i_nid fields for their rdev numbers.
So, fsck should skip to chec...

78b795e05d411e28f2480f78ad9225bd21e199fe authored about 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: discard is default but not set in config

flash devices support discard therefore discard is default but not set
in config

Signed-off-by:...

b155ea8e18a2de5a5d09d3c969cc6fd79a04cb1d authored over 11 years ago by Changman Lee <[email protected]>
fsck, lib: support inline xattr

This patch adjusts the modification to handle inline xattrs.

Signed-off-by: Jaegeuk Kim <jaegeu...

cd1e4704d0cbf1cbb49b3f33c576566b4b1e296e authored over 11 years ago by Jaegeuk Kim <[email protected]>
fibmap.f2fs: change fibmap to fibmap.f2fs

The fibmap tool is for debugging f2fs especially.

CC: Changman Lee <[email protected]>
CC: ...

9455376cd0edcc37219bcb089dff440624719667 authored over 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: add stat information into fibmap

This patch shows stat information about a file with fragmented state.

Signed-off-by: Changman L...

e23d58533c631a1babd29dcf732c99c9cc4f8e89 authored over 11 years ago by Changman Lee <[email protected]>
f2fs-tools: add debug message for checking xattr

This patch adds debug message to confirm xattr block is checked.

Signed-off-by: Changman Lee <c...

6e8f2d5d222eff0abea4b5c0abc7433834094924 authored over 11 years ago by Changman Lee <[email protected]>
libf2fs: check more conditions on mounted filesystem

In the case of lazy umount, "umount -l", some processes are able to use the
file system even if ...

2c877a862d6d22ff5324e90b726c7d6a26febfb7 authored over 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: cleanup debug statement

The debug message is too verbose therefore decrease message.

Signed-off-by: Changman Lee <cm224...

223fdf3e00a56cb32fb8c69dc4523ee53ff7731a authored over 11 years ago by Changman Lee <[email protected]>
f2fs-tools: fix missing function declaration

Explicitly declare function name.

Signed-off-by: Changman Lee <[email protected]>
Signed-of...

c81ded6cf03fc15e5f48a24664713fdc714875ec authored over 11 years ago by Changman Lee <[email protected]>
f2fs-tools: add option to display directory tree

This option shows directory tree of f2fs.

Usage: fsck.f2fs -t /dev/sdx

`-- p0
|-- f4
`--...

57baa23a3279a4b9e9df0ab92ee20a2c79b839d8 authored over 11 years ago by Changman Lee <[email protected]>
f2fs-tools: use either hex or decimal options

This patch supports both hex and decimal when using nid as option.

Signed-off-by: Changman Lee ...

932f9845f6d6ab79815d80a1eb03b1b3509a4463 authored over 11 years ago by Changman Lee <[email protected]>
libf2fs: add an error message for a mounted device

We need to notify the mounted device.

Signed-off-by: Jaegeuk Kim <[email protected]>

8e19033a635ca778ba089d5cf341e26728d77711 authored over 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: add fibmap

This is to get physical location of file data.
We can check the percentage of fragmentation on a...

dfe2a3384fbacb960463088176654bbf13c106e4 authored over 11 years ago by Changman Lee <[email protected]>
dump: dump inode information from blkaddr

This patch is to dump inode which blkaddr belongs in.
Usage:
dump.f2fs /dev/sdx -b blk_addr (i...

8843554c8c43e713e2ce4e36ac3c06f9eca94b09 authored over 11 years ago by Changman Lee <[email protected]>
fsck: fix name search

The next name slots should be calculated by F2FS_SLOT_LEN not F2FS_NAME_LEN.

Signed-off-by: Jae...

0307b93ce2e44e80a1efb279894601ae64ffaf47 authored over 11 years ago by Jaegeuk Kim <[email protected]>
mkfs: add apk extension to indicate cold files

Android systems uses apks for their application packages.
These files are normally used as read-...

679ca83b9e1a0ca36da9de0919e91377055bd9a9 authored over 11 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: add fsck.f2fs and dump.f2fs

fsck.f2fs checks file system consistency, but does not repair a broken
file system yet.
dump.f2f...

7f35b548d4b0e3c8577ad7a09433e589a0ab3f2a authored over 11 years ago by Changman Lee <[email protected]>
mkfs: fix the total_zones calculation in f2fs_prepare_super_block

We can count the main area as the data zones. Remove the '-1' miscalcuation.

Signed-off-by: Wan...

716ea385bee0afe55ca7b18d49ed23df473288ef authored over 11 years ago by Wang Sheng-Hui <[email protected]>
mkfs: fix to store __le32 for checkpoint flags

The checkpoint flags also should be stored as little endian style.

Signed-off-by: Jaegeuk Kim <...

c5bf205a4d7a4e8efad80849bf016e4299935734 authored over 11 years ago by Jaegeuk Kim <[email protected]>
lib, mkfs: fix endian conversion for crc calculation

Let's store the crc value for the checkpoint blocks with __le32.

Signed-off-by: Jaegeuk Kim <ja...

cc9d9caeb6853d38297d97d3dd4731c452418f02 authored over 11 years ago by Jaegeuk Kim <[email protected]>
mkfs: fix bug in endianness at f2fs_update_nat_root

This patch fixes a bug in the function "f2fs_update_nat_root", where the
access to the array "na...

b6ae58ed44827fb10f04227d5b1b79d68228f994 authored over 11 years ago by Oded Gabbay <[email protected]>
mkfs: add option to disable trim at format

This patch adds an option to disable trim command at format.
Default operation sends trim comman...

fef98ebdf3a7728017cb3d0ae4ffedc5405e531d authored over 11 years ago by Changman Lee <[email protected]>
mkfs: handle labels longer than 16 characters

Mkfs copies labels up to 512 characters into a the 16 character buffer
config.vol_label corrupti...

9799d6364dc93e1fd259d812d4a50ed984a6456b authored over 11 years ago by Mike Fleetwood <[email protected]>
mkfs: default to blank label

Signed-off-by: Mike Fleetwood <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeu...

089d0e7202147a7e81796c38e2d704c144403fef authored over 11 years ago by Mike Fleetwood <[email protected]>
mkfs: fix to avoid format of device when already mounted

In case of embedded devices, where /etc/ is mounted as 'read-only'.
We donot have the /etc/mtab ...

8d3802b257de83686a327c8e4fa84fba32b563ff authored over 11 years ago by Namjae Jeon <[email protected]>
build: revert "Compile static by default"

By default, we should use dynamic linking.
If anyone need to build 100% statically, add -all-sta...

1dc688d2fd232697c91613c63205387a1952194d authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: change f2fs_fs.h

Let's sync f2fs_fs.h in the kernel source tree.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung...

f5f440f08643f6b35ad0dd70a54805a5383c4a62 authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: compile static by default

Signed-off-by: Jaegeuk Kim <[email protected]>

e1e843d29cf00962113f5239952fef434b1011ac authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: clean up the base functions

Signed-off-by: Jaegeuk Kim <[email protected]>

5043dffbd1d2b89c71966dde31780b0ca313b5c9 authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: make several base functions as a library

Let's make a library and relocate functions for other tools like fsck.f2fs.

Signed-off-by: Jaeg...

e69e4378500b836863dfb7f6e88e39935f23ae80 authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: sync f2fs_fs.h with current f2fs sources

Rearrange positions of all the data structures for easy synchronization between
f2fs-tools and f...

2784bd55dd9730f3a5d2126c82094990fad053c1 authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: move f2fs_format.h to ../include/f2fs_fs.h

This is to use f2fs.h globally, which will be used by other tools such as
fsck.f2fs.

Siged-mff-...

40b9f96587c191269a41b20bd2bd5000fc9db259 authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: add description of prerequisite to build

Let's check two more packages before building f2fs-tools.

Signed-off-by: Jaegeuk Kim <jaegeuk.k...

28af021c91bb0d86187f9b81b3ff6ceafe6867c1 authored over 11 years ago by Jaegeuk Kim <[email protected]>
mkfs: reserve x2 sections

This is due to GC on data sections.
When a data section is cleaned, it produces maximum same num...

d2387723a8f47a3c860d2c67436232ccad764caf authored over 11 years ago by Jaegeuk Kim <[email protected]>
build: place mkfs into sbindir

Filesystem creation utilities have always been in *sbin*.

Signed-off-by: Jan Engelhardt <jengel...

c7e0a01375c82307e07dd7527f0a57ed41273575 authored about 12 years ago by Jan Engelhardt <[email protected]>
build: replace obsolete build macros

AM_CONFIG_HEADER is obsolete. Since v1.6.1b(!) already.

Signed-off-by: Jan Engelhardt <jengelh@...

8471b6a2000da44711706f9874e8cf42fb2aa51d authored about 12 years ago by Jan Engelhardt <[email protected]>
build: set some automake options

Use "foreign", so that we are not forced to have all files GNU
requires. It also gets us rid of ...

2a8c4b1373f04b33f438eb44d0f88b29d292b7bf authored about 12 years ago by Jan Engelhardt <[email protected]>
build: make use of AC_CONFIG_AUX_DIR

Place most of the autogenerated files in a separate directory that can
be ignored wholesale, the...

ec1a5da78810b5b6f6b4c829b8a77971f6b7b834 authored about 12 years ago by Jan Engelhardt <[email protected]>
Update .gitignore

Mark directories to be ignored as such.

Signed-off-by: Jan Engelhardt <[email protected]>

abb6bb88bca47908be5bd88f51225cf92c370e29 authored about 12 years ago by Jan Engelhardt <[email protected]>
build: use pkgconfig to determine libuuid's parameters

Signed-off-by: Jan Engelhardt <[email protected]>

fe2928a79363c6c339d74105251e4f4675e08021 authored about 12 years ago by Jan Engelhardt <[email protected]>
build: remove unnecessary m4_flatten

automake can cope with it as-is.

Signed-off-by: Jan Engelhardt <[email protected]>

b1bce4d3b754fdd0d92adfb0c4ba0c6690abf49c authored about 12 years ago by Jan Engelhardt <[email protected]>
mkfs: Make HDIO_GETGEO ioctl optional

Some block devices don't implement HDIO_GETGEP ioctl;
loop device being a notable example.
Witho...

07b815d39509135e35856cfd30b83930a0af8250 authored about 12 years ago by Ezequiel Garcia <[email protected]>
More files git should ignore

Signed-off-by: Sven-Göran Bergh <[email protected]>

807776acbf4baf038b23b82928e19d0f591a3be1 authored about 12 years ago by Sven-Göran Bergh <[email protected]>
Unify version and date management

Patch 1:
Now we have two different versions that produce different superblocks/
filesystems wi...

dd1ba078fae270c4174a221a873026fea85aae32 authored about 12 years ago by Sven-Göran Bergh <[email protected]>
Ignore configure.lineno

Autotools may spit out the file configure.lineno, which git
should ignore as well.

Signed-off-b...

c0f2b9065c36213a271f18c6c7672a9311d26b5b authored about 12 years ago by Sven-Göran Bergh <[email protected]>
Sync the version management

For debian packaing, I should have matched the previous verions, v1.1.0.
So, this is the start o...

da59f6146c37e727bb83ae4922ca56d42958e61c authored about 12 years ago by Jaegeuk Kim <[email protected]>
Add version information

Signed-off-by: Jaegeuk Kim <[email protected]>

8bdf26205db63dad57fb477620bf6456d4613ae2 authored about 12 years ago by Jaegeuk Kim <[email protected]>
Cleanup: sync comments to kernel source

Remove unnecessary data fields too.

Signed-off-by: Jaegeuk Kim <[email protected]>

bbf6e62360d8eae415dc7d19325b7d70079db0e1 authored about 12 years ago by Jaegeuk Kim <[email protected]>
Bug fix: Fix overflow when calculating block address

This patch fixes the bug as follows.
"I'm trying to roll out f2fs on top of SDHC card and faced ...

c6ff6d09de5fdacbab7c31e861238397d3bd788e authored about 12 years ago by Jaegeuk Kim <[email protected]>
Bug fix: store superblocks with correct offset

There are two superblock writes in mkfs.f2fs.

offset: 0 1024 4095 5119...

4ed75df3792dc700fd7f38eefcae61e05c5b12b4 authored about 12 years ago by Jaegeuk Kim <[email protected]>
Enhancement: shorten umount time

When f2fs is unmounted cleanly, it stores active summmary blocks of nodes in the
checkpoint pack...

22a75edd47adea7d466ecd245c62b75fd1866628 authored about 12 years ago by Jaegeuk Kim <[email protected]>
mkfs: Initial commit for patch v2 series

This is same as f2fs-tools-1.1.0.tar.gz, and for patch v2 in kernel.

Signed-off-by: Jaegeuk Kim...

036d45e551ca5405c726f8ccb51f446620cd4af4 authored about 12 years ago by Jaegeuk Kim <[email protected]>
Cleanup: add comments

Signed-off-by: Jaegeuk Kim <[email protected]>

9db27ee071d576027d91e74d8c610e7fb238fb94 authored about 12 years ago by Jaegeuk Kim <[email protected]>
touch up autotools

Signed-off-by: Mike Frysinger <[email protected]>

0903d1e42908aab9fe0cd90de1c4a0733a645ed6 authored about 12 years ago by Mike Frysinger <[email protected]>
Enhancement: add i_atime and i_generation

"You appear to have dropped i_btime - no big deal, you weren't using it anyway.
However if you e...

b5af7953f81018c9edd844bd1bc9f4f6752a756a authored about 12 years ago by Jaegeuk Kim <[email protected]>
ignore generated files

Signed-off-by: Mike Frysinger <[email protected]>

e12214e836318348070f26a42425f52b6b0c0ed7 authored about 12 years ago by Mike Frysinger <[email protected]>
use proper priu64 type to be portable

Signed-off-by: Mike Frysinger <[email protected]>

3dd5f8b400a27c2a14945a1c09d5585aee3e4dd8 authored about 12 years ago by Mike Frysinger <[email protected]>
Enhancement: add uuid

"Usually, it is used 128-bits UUID for serial number. Why do you use
__le32 as volume_serial_num...

99b74393403aab847587d6c37cd1aaf1d935a81d authored about 12 years ago by Jaegeuk Kim <[email protected]>