Make a unique filesystem path, without creating the file
Cameron Simpson
cs at zip.com.au
Mon Feb 22 17:25:36 EST 2016
More information about the Python-list mailing list
Mon Feb 22 17:25:36 EST 2016
- Previous message (by thread): Make a unique filesystem path, without creating the file
- Next message (by thread): Make a unique filesystem path, without creating the file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22Feb2016 10:11, Ethan Furman <ethan at stoneleaf.us> wrote: >On 02/14/2016 04:08 PM, Ben Finney wrote: > >>I am unconcerned with whether there is a real filesystem entry of that >>name; the goal entails having no filesystem activity for this. I want a >>valid unique filesystem path, without touching the filesystem. > >This is impossible. If you don't touch the file system you have no way to >know if the path is unique. I think Ben wants to avoid filesystem modification (let us ignore atime here). So one can read the filesystem to see what is current, but he does not want to actually make any new filesystem entry. Cheers, Cameron Simpson <cs at zip.com.au>
- Previous message (by thread): Make a unique filesystem path, without creating the file
- Next message (by thread): Make a unique filesystem path, without creating the file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list