mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
fb5c53ea65
When /etc/mtab is updated on Linux it's done atomically with rename(2). A new mtab is written, the existing mtab is unlinked, and the new mtab is renamed to /etc/mtab. This means that we must close the old file and open the new file to get the updated contents. Using rewind(3) will just move the file pointer back to the start of the file, freopen(3) will close and open the file. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1611 |
||
---|---|---|
.. | ||
libavl | ||
libefi | ||
libnvpair | ||
libshare | ||
libspl | ||
libunicode | ||
libuutil | ||
libzfs | ||
libzpool | ||
Makefile.am |