MIT License

Copyright (c) 2026 Jeremy Anderson <info@dcos.net>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


Project Naming
==============

DriveStage is the public project name. BlkStage is the internal backend
that ships as `scripts/blkstage.sh` and is installed on PATH as the
`drivestage` CLI command. The GUI binary is `drivestage-gui`. These names
are deliberate; the project codename was changed to remove a trademark
conflict with the prior identifier.


Third-Party Notices
===================

This project bundles or references the following third-party software,
each governed by its respective license:

- Rust standard library and tokio runtime — MIT / Apache-2.0
- iced GUI framework (https://github.com/iced-rs/iced) — MIT
- rfd file dialog (https://github.com/PolyMeilex/rfd) — MIT
- bytesize, chrono, serde, serde_json, sysinfo, nix, which, regex,
  thiserror, anyhow, once_cell, log, env_logger, directories — MIT / Apache-2.0

The bundled `blkstage.sh` script invokes GRUB2, systemd-boot, Limine,
rEFInd, parted, sfdisk, mkfs.fat, mkfs.ext4, smartctl, rsync, and tar —
each governed by its respective license.


Inspiration and Attribution
===========================

This project draws design inspiration from Easy2Boot and RMPrepUSB by
Steve Si (https://easy2boot.xyz). The drop-and-boot payload workflow and
the multi-payload USB use case originate from those tools. All code in
this project is an independent, Linux-native implementation written from
scratch. No code from Easy2Boot or RMPrepUSB is included or derived.


Contact
=======

- Author: Jeremy Anderson <info@dcos.net>
- Website: https://dcos.net
- Repository: https://git.dcos.net/dcosnet/DriveStage
