# SmartFS tools
[![Coverage Status](https://coveralls.io/repos/github/shizacat/smartfs-tools/badge.svg?branch=main)](https://coveralls.io/github/shizacat/smartfs-tools?branch=main)
Python library and utilities for creating a dump of SmartsFS from a directory. The dump will be written on flash memory next.
SmartFS is a file system usage in NuttX. SmartFS stands for Sector Mapped Allocation for Really Tiny (SMART) flash.
# Links
- [SmartFS Internals](https://cwiki.apache.org/confluence/display/NUTTX/SmartFS+Internals)
# Usage
Install
```bash
pip install smartfs_tools
```
Example run:
```bash
# Veiw help
smartfs_mkdump --help
# Create dump
smartfs_mkdump \
--base-dir ./dir_with_content \
--out out.bin \
--storage-size 1048576 \
--smart-erase-block-size 4096 \
--smart-sector-size 1024 \
--smart-max-len-filename 16
```
# Developemnt
Run script (smartfs_mkdump):
```bash
python -m smartfs_tools.script
```
Raw data
{
"_id": null,
"home_page": null,
"name": "smartfs-tools",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "dump, filesystem, filesystem dump, nuttx, smartfs",
"author": null,
"author_email": "Alexey Matveev <tippet@yandex.ru>",
"download_url": "https://files.pythonhosted.org/packages/47/0b/2b7b193456112b6507bbb6f62f85c0fc0ac44818b1b1c02a544a16898f3f/smartfs_tools-0.4.0.tar.gz",
"platform": null,
"description": "# SmartFS tools\n\n[![Coverage Status](https://coveralls.io/repos/github/shizacat/smartfs-tools/badge.svg?branch=main)](https://coveralls.io/github/shizacat/smartfs-tools?branch=main)\n\nPython library and utilities for creating a dump of SmartsFS from a directory. The dump will be written on flash memory next.\n\nSmartFS is a file system usage in NuttX. SmartFS stands for Sector Mapped Allocation for Really Tiny (SMART) flash.\n\n# Links\n\n- [SmartFS Internals](https://cwiki.apache.org/confluence/display/NUTTX/SmartFS+Internals)\n\n# Usage\n\nInstall\n```bash\npip install smartfs_tools\n```\n\nExample run:\n```bash\n# Veiw help\nsmartfs_mkdump --help\n\n# Create dump\nsmartfs_mkdump \\\n --base-dir ./dir_with_content \\\n --out out.bin \\\n --storage-size 1048576 \\\n --smart-erase-block-size 4096 \\\n --smart-sector-size 1024 \\\n --smart-max-len-filename 16\n```\n\n# Developemnt\n\nRun script (smartfs_mkdump):\n```bash\npython -m smartfs_tools.script\n```\n",
"bugtrack_url": null,
"license": "Apache License (2.0)",
"summary": "Python library and utilities for creating a dump of SmartsFS from a directory.",
"version": "0.4.0",
"project_urls": {
"Documentation": "https://github.com/shizacat/smartfs-tools",
"repository": "https://github.com/shizacat/smartfs-tools"
},
"split_keywords": [
"dump",
" filesystem",
" filesystem dump",
" nuttx",
" smartfs"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6f917b3ae676049633fa4123f7d7ac848b592787eb9b70faad8fe5981f1e358b",
"md5": "130eb89f9d5047982fbe67dbabae9a82",
"sha256": "5d34942c1517c079bec59c77c5c16d83922e71f5c5ab3ae7ad3186c1d4553ff6"
},
"downloads": -1,
"filename": "smartfs_tools-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "130eb89f9d5047982fbe67dbabae9a82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17737,
"upload_time": "2024-10-14T10:57:07",
"upload_time_iso_8601": "2024-10-14T10:57:07.517709Z",
"url": "https://files.pythonhosted.org/packages/6f/91/7b3ae676049633fa4123f7d7ac848b592787eb9b70faad8fe5981f1e358b/smartfs_tools-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "470b2b7b193456112b6507bbb6f62f85c0fc0ac44818b1b1c02a544a16898f3f",
"md5": "a7b899117f053e84816dbbee02e126da",
"sha256": "8899ecb12eaee2b3ba1c54541a9d252a9b0004dc69b3bbdedd6005f2d1c1335a"
},
"downloads": -1,
"filename": "smartfs_tools-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "a7b899117f053e84816dbbee02e126da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 14978,
"upload_time": "2024-10-14T10:57:09",
"upload_time_iso_8601": "2024-10-14T10:57:09.337523Z",
"url": "https://files.pythonhosted.org/packages/47/0b/2b7b193456112b6507bbb6f62f85c0fc0ac44818b1b1c02a544a16898f3f/smartfs_tools-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-14 10:57:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "shizacat",
"github_project": "smartfs-tools",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "smartfs-tools"
}