Skip to content

msl 0.1.7

Choose a tag to compare

@onexay onexay released this 25 Sep 14:35

Fixed

  • msl --shutdown leaves the shared disk clean. It used to power off with the filesystem still marked for journal recovery, which then ran at every boot (#45).

Added

  • msl --manage <distro> --resize <size> grows the disk all distributions share (#3). Stop every distribution first (msl --shutdown). msl restarts the VM, which checks and grows the filesystem before mounting it (about 3 s for 256 GB). The disk can't shrink, and can't be larger than the macOS disk.
  • defaultVhdSize in [msl2] (as in .wslconfig) sets the disk's size when it's created. Without it, a new disk is 256 GB, but never more than the macOS disk.
  • msl --status shows the disk: its maximum size, what it uses on macOS, and what's free in the distributions and on macOS. It warns when macOS is nearly out of disk space, which the distributions can't see.

Changed

  • Renamed, breaking: macOS files are mounted at /mnt/macos in every distribution, not /mnt/mac (/macos under a custom [automount] root). The environment variables MSL_MAC_USER, MSL_MAC_HOME and MSL_MAC_VIEW are now MSL_MACOS_*, and msl --version --json reports macos instead of macOS. Scripts that use the old names need updating.
  • Messages and docs say "macOS" throughout, instead of mixing "Mac" and "macOS".
  • msl --version and msld's log show the commit a build came from, as semver build metadata: 0.1.7+3af5916 (.dirty for uncommitted changes). Update checks still compare 0.1.7.
  • Kernel releases are tagged with a hash of their config instead of a counter: kernel-6.18.15-msl-76f230e. The same config always gives the same tag, and msl --version shows it.
  • The kernel enables device-mapper (CONFIG_BLK_DEV_DM) and the NBD client (CONFIG_BLK_DEV_NBD).
  • The initramfs carries static e2fsck and resize2fs from Debian's e2fsprogs 1.47.2 (GPL-2.0); their source is attached to each release.

Install: sh install.sh (or sh install.sh --version 0.1.7). Update an existing install with msl --update.

Kernel Linux 6.18.15-msl-76f230e, release kernel-6.18.15-msl-76f230e
VS Code extension release vscode-0.1.1, installed by msl --manage-ide
Commit 66fb0af
Requires Apple silicon, macOS 26 or later
GPL sources BusyBox and e2fsprogs: the attached Debian source packages busybox_* and e2fsprogs_*. Kernel: attached to kernel-6.18.15-msl-76f230e.
Signing ad-hoc (not notarised); checksum not PGP-signed

msl-0.1.7-macos-arm64.tar.gz SHA-256: 5717463112920b0a1a21f5d0bd846aaf8a579706dd373fada3d42b05e782a4ad