Skip to main content

No project description provided

Project description

This rotates the output paths so that write limitations are not exceeded. This is mostly for writing lots of sound files for an IOx app I created.

The actual problem

Look, I really don’t know that much about it, but apparently in the Linux filesystem there is a data-structure called an inode that describes things like files and folders. The inode stores things like the attributes of the object and where it is located on disk. Anyway, you have a limit of these per folder, so when you write too many files per folder (in my particular case this was ~13000) you suddenly get an error saying the disk is full. The disk is not full you just ran out of inodes. You can solve this by creating more directories… here we are :fire:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

folder_rotator-0.0.5.tar.gz (3.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page