Quantcast
Channel: Number of free inodes on a partition containing a directory - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Mechanical snail for Number of free inodes on a partition...

This can be done using the statvfs system call. In Python (both 2 and 3), this can be accessed using os.statvfs. The call describes the filesystem containing the file/directory the path specifies.So to...

View Article


Number of free inodes on a partition containing a directory

I have a Python script running under Linux that generates huge numbers of tiny files into a given directory. However, many Linux filesystems like ext4 have a fixed number of inodes set at creation...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>