<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32, branch mount_point</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=mount_point</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=mount_point'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-06-15T11:43:03+00:00</updated>
<entry>
<title>df,lsattr: support Unix-like mount points</title>
<updated>2026-06-15T11:43:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-15T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d4fefaceac846bbf8acbb110924b0caff6df698e'/>
<id>urn:sha1:d4fefaceac846bbf8acbb110924b0caff6df698e</id>
<content type='text'>
Update 'lsattr' to distinguish between mount points and junctions.

Use the new 'mntent' functions in 'df' to display mount points as
well as drive letters.  If mount point is associated with a drive
letter this is displayed as the filesystem.  The Windows-specific
'-w' option forces the volume name to be displayed instead, if
avaialable.

Adds 87-111 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: Unix-like support for volume mounts</title>
<updated>2026-06-15T11:42:54+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-15T11:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=862f87a8725d5cc9693021066869e94512d5d8e1'/>
<id>urn:sha1:862f87a8725d5cc9693021066869e94512d5d8e1</id>
<content type='text'>
Add code to distinguish between volume mount points and junctions.
Volume mount points are to be treated like directries while
junctions are like symlinks.

Update the 'mntent' functions to scan drive letters first, then
volume names and their associated mount points.  By default the
filesystem is returned as a drive letter, if possible, though
the volume name is also returned.

The function 'find_mount_point()' has been updated to use the
new 'mntent' routines.

Adds 772-803 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>ash: scan drives directly for 'pwd -a'</title>
<updated>2026-06-15T11:42:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-15T10:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c5ff19688135ff077190a46de17f6cd7c005d1fc'/>
<id>urn:sha1:c5ff19688135ff077190a46de17f6cd7c005d1fc</id>
<content type='text'>
The shell builtin 'pwd' takes a Windows-specific '-a' option to
display the current directory on each drive.

Use Windows APIs directly to scan for valid drives instead of
'getmntent()'.  Future changes will result in 'getmntent()'
returning mounted volumes as well as drives.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: extend handling of virtual disks</title>
<updated>2026-06-08T13:02:15+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-08T13:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1313ab2691128c2255ac1ccdeea7021dbb9b4fe4'/>
<id>urn:sha1:1313ab2691128c2255ac1ccdeea7021dbb9b4fe4</id>
<content type='text'>
Commit 62e4c5d29 (win32: special treatment for virtual hard disk)
added special treatment for mount points associated with virtual
hard disks.  One statement made there was incorrect:  a VHD without
a drive letter containing no files *does* have a '.' directory.
The error message for this case was misleading.

The changes made to handle VHDs were insufficiently general:

- lstat(2) only resolved symlinks for the explicit path '.'.
  It should also do so for paths of the form 'path/to/.'.

- opendir(3) only generated entries for '.' and '..' directories
  when FindFirstFileA() failed for the path '.'.  It should also
  do so for any path which resolves to a volume mount point.

Make the necessary changes.

Adds 64-80 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: special treatment for virtual hard disk</title>
<updated>2026-06-07T14:23:48+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-07T14:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62e4c5d291600a5f537d225ffdf22544bc74c8be'/>
<id>urn:sha1:62e4c5d291600a5f537d225ffdf22544bc74c8be</id>
<content type='text'>
Virtual hard disks (VHD) without a drive letter gave incorrect
results in 'ls' and 'stat'.  There were two problems:

- If the disk is empty it doesn't have a '.' directory.

- If it contains files the '.' directory is actually the mount
  point, which looks like a symbolic link and can't be opened
  as a directory.

Modify our 'stat(2)' and 'opendir(3)' implementations to handle
these quirks.

Adds 78-80 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: update current directory to target of symlink</title>
<updated>2026-06-06T12:42:59+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-06T12:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=515ab4d1cf73c5a383050bba2dcf0509693e7b53'/>
<id>urn:sha1:515ab4d1cf73c5a383050bba2dcf0509693e7b53</id>
<content type='text'>
If busybox.exe was started from a Windows command line in a
directory which was the target of a symlink (or equivalent) 'ls'
and 'stat' were unable to report the correct details of the current
directory.

Call 'chdir()' from the BusyBox main program to update our notion
of our current directory.

Adds 16 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: avoid problems with forward slashes in path to cmd.exe</title>
<updated>2026-06-06T09:55:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-06T09:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=acc0d23bce6458cff1b0716c64e0821a8230815b'/>
<id>urn:sha1:acc0d23bce6458cff1b0716c64e0821a8230815b</id>
<content type='text'>
Running 'C:/Windows/System32/cmd.exe' from the shell was found to
have the unxpected result of creating the directory '.exe'.  This
is due to the weirdness of cmd.exe.

A similar problem with batch files was already being handled in
`spawnveq()` by converting forward slashes to backslashes in the
path to the executable file.  Doing this unconditionally will fix
the above case too.

(GitHub issue #598)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>lsattr: clarify output for reparse/mount points</title>
<updated>2026-06-05T11:22:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-05T11:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=20df2225f81511fc7bd8de619cfc57d38d4ed37e'/>
<id>urn:sha1:20df2225f81511fc7bd8de619cfc57d38d4ed37e</id>
<content type='text'>
The 'lsattr' applet identified three specific types of reparse
points:  junctions, symbolic links and app exec links.  Any other
type was just shown as a reparse point.

A junction is actually a specific type of mount point; a volume
mount is another.  The description 'junction' has been changed to
the more generic 'mount point'.  'lsattr' doesn't distinguish
between volume mounts and junctions.

Change the help text to say 'Unidentified reparse point' for reparse
point which aren't a mount point, symlink or app exec link.

Adds 29 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: special treatment for mounted volumes</title>
<updated>2026-06-04T10:46:40+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-04T10:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=77fd1b62ca4b5ce965fbd4ad3b86ceb0a7b393ce'/>
<id>urn:sha1:77fd1b62ca4b5ce965fbd4ad3b86ceb0a7b393ce</id>
<content type='text'>
It was reported that a mounted volume looked like a broken symlink
and that changing to the mount directory failed.

Preserve the format of the volume name when resolving the link.

Adds 84-96 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>ash: don't treat process substitutions as background jobs</title>
<updated>2026-05-31T14:10:05+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-05-31T14:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c2c2944a9e93fe549d4c5c873bc93de4a486e3e1'/>
<id>urn:sha1:c2c2944a9e93fe549d4c5c873bc93de4a486e3e1</id>
<content type='text'>
Commit bda604a70 (ash: prevent leakage of process handles) added
job tracking for process substitutions.  This had the unwanted
side-effect that if the user tried to exit from the shell after
a command involving process substitution the shell reported that
background jobs were present and refused to exit.

Use the flag introduced in commit e6c716317 (ash: don't report
completion of process substitution) to avoid this.

Adds 16 bytes.

(GitHub issue #587)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
</feed>
