Getting file extensions [linux fs]

Paulo da Silva p_s_d_a_s_i_l_v_a_ns at netcabo.pt
Wed Mar 27 21:12:05 EDT 2019


Às 23:09 de 27/03/19, Cameron Simpson escreveu:
> On 27Mar2019 21:49, Paulo da Silva <p_s_d_a_s_i_l_v_a_ns at netcabo.pt> wrote:
...
> The filefrag manual entry says it works by calling one of 2 ioctls. You
> can do that from Python with the ioctl() function in the standard fcntl
> module. I haven't tried to do this, but the results should be basicly as
> fast as filefrag itself.
> 
> You'll need to decode the result the ioctl returns of course.
> 
Thanks Cameron, I'll take a look at that.



More information about the Python-list mailing list