<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32/mntent.c, branch zstd</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=zstd</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=zstd'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-06-27T13:05:33+00:00</updated>
<entry>
<title>win32: changes to mntent implementation</title>
<updated>2021-06-27T13:05:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-06-27T12:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0fdf99bee07b6c38795eb5415b5e337ab82cfba8'/>
<id>urn:sha1:0fdf99bee07b6c38795eb5415b5e337ab82cfba8</id>
<content type='text'>
Make the structure returned by getmntent(3) static so it persists
after endmntent(3) closes the stream.  No current caller in the
WIN32 port needs this functionality but it's good to match the
documented behaviour.

Populate more fields of the mntent structure in find_mount_point().
This is required to support the df -t and -T flags recently added
upstream.

The static structures used here are allocated on demand.  Separate
static structures are used in each case because df iterates through
mounts calling statfs(2) on each and the WIN32 implementation of
statfs(2) calls find_mount_point().
</content>
</entry>
<entry>
<title>df: display origin of mapped drive</title>
<updated>2019-04-01T09:21:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-04-01T09:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8b340122e5c5014358a4919d1e87ef2f81c83b6f'/>
<id>urn:sha1:8b340122e5c5014358a4919d1e87ef2f81c83b6f</id>
<content type='text'>
When a drive is mapped to a network share or a path display the
mapping in the 'Filesystem' column of df's output.

Since this changes the mnt_fsname field of the mntent structure
a slight alteration is needed to print_all_cwd() in ash.

Revert the change in commit a8c63f25b that enabled FEATURE_DF_FANCY
in the default configuration.  None of the additional options is
very useful.

See GitHub issue #164.
</content>
</entry>
<entry>
<title>win32: update implementation of setmntent(3)</title>
<updated>2019-03-30T11:24:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-03-30T11:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=077d4c21c0e48e495bc86ea0dec28e5a7143efa8'/>
<id>urn:sha1:077d4c21c0e48e495bc86ea0dec28e5a7143efa8</id>
<content type='text'>
- The arguments to setmntent(3) are unused:  add a macro to drop
  them at call sites.

- Allow remote drives.
</content>
</entry>
<entry>
<title>win32: improve filesystem detection and display</title>
<updated>2019-03-20T11:38:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-03-20T11:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a8c63f25b3a8d4b8c9e12b8f6db65c61596da602'/>
<id>urn:sha1:a8c63f25b3a8d4b8c9e12b8f6db65c61596da602</id>
<content type='text'>
Miscellaneous improvements:

- Enable '-a' option to display all filesystems in df(1).
- Detect the UDF CDROM filesystem and display it in 'stat -f'.
- Let getmntent(3) handle CDROM and floppy devices, ignoring those
  that have no media.
- Set number of inodes and filesystem flags to 0 in statfs(2).
</content>
</entry>
<entry>
<title>win32: reduce amount of static data</title>
<updated>2018-03-04T08:56:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-03-04T08:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=31997b1796bdaf5734f5fff1a20a637d8872419d'/>
<id>urn:sha1:31997b1796bdaf5734f5fff1a20a637d8872419d</id>
<content type='text'>
It appears that uninitialised static variables are placed in the
data section rather than bss, increasing the size of the binary.

Rewrite some code to reduce the amount of static data.
</content>
</entry>
<entry>
<title>win32: silence some compiler warnings</title>
<updated>2015-07-15T10:53:50+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-07-15T10:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=70a4a723c507efc4e1bcfa4d4685da0821bff6dc'/>
<id>urn:sha1:70a4a723c507efc4e1bcfa4d4685da0821bff6dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>win32: attempt to get filesystem type for mntent</title>
<updated>2014-10-06T13:44:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2014-10-06T13:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6254967d9c893eb5349a43d3e75cb2fb6f98f23b'/>
<id>urn:sha1:6254967d9c893eb5349a43d3e75cb2fb6f98f23b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some compiler warnings</title>
<updated>2014-03-13T22:02:12+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2014-03-13T22:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e8c9f63c8e618d85104369a4c588129b165851e2'/>
<id>urn:sha1:e8c9f63c8e618d85104369a4c588129b165851e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>df: limited implementation for WIN32</title>
<updated>2013-04-03T11:09:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2013-04-03T11:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8782950636f76faa8db0ed8c5d698ab0bd1fbf45'/>
<id>urn:sha1:8782950636f76faa8db0ed8c5d698ab0bd1fbf45</id>
<content type='text'>
</content>
</entry>
</feed>
