[issue27879] add os.syncfs()

2021-10-10 Thread Nir Soffer


Nir Soffer  added the comment:

Updating python version, this is not relevant to 3.6 now.

On linux users can use "sync --file-system /path" but it would be nice if we 
have something that works on multiple platforms.

--
nosy: +nirs
versions: +Python 3.11 -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27879] add os.syncfs()

2017-03-01 Thread Fred L. Drake, Jr.

Changes by Fred L. Drake, Jr. :


--
nosy: +fdrake

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27879] add os.syncfs()

2016-08-29 Thread Марк Коренберг

Марк Коренберг added the comment:

1. It is appropriate to call `sync()` when one calls `os.syncfs()` if 
`syncfs()` syscall is not supported in kernel.
2. https://technet.microsoft.com/sv-se/sysinternals/bb897438(en-us).aspx
3. https://github.com/EricGrange/FlushFileCache ?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27879] add os.syncfs()

2016-08-29 Thread Josh Rosenberg

Josh Rosenberg added the comment:

So syncfs is basically "sync, but only for a single file system corresponding 
to a given open file"? Given it's Linux only (doesn't look like it's part of 
any standard that UNIX or BSD OSes would provide), it seems rather special 
purpose to expose in Python. Is there some equivalent API for UNIX/BSD variants 
that `syncfs` could use to provide a single API that works on at least all 
UNIX-like systems? If not, it seems like this is an optimization that doesn't 
generalize; is it worth providing it instead of just having users call os.sync 
and accepting the cost of syncing other file systems?

--
nosy: +josh.r

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27879] add os.syncfs()

2016-08-27 Thread Марк Коренберг

New submission from Марк Коренберг:

I mean http://linux.die.net/man/2/syncfs

--
components: Library (Lib)
messages: 273790
nosy: mmarkk
priority: normal
severity: normal
status: open
title: add os.syncfs()
type: enhancement
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com