[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81771":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":13,"forks30d":13,"starsTrendScore":18,"compositeScore":13,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":13,"starSnapshotCount":13,"syncStatus":15,"lastSyncTime":25,"discoverSource":26},81771,"Janus","SuperCoolPencil\u002FJanus","SuperCoolPencil","an ext4 driver for windows.","",null,"Go",36,0,22,2,4,14,6,false,"master",[],"2026-06-12 02:04:19","# Janus\n\nJanus is a read-only ext4 filesystem driver for Windows. It allows you to mount Linux ext4 partitions as native Windows drive letters, enabling seamless access to your Linux files directly from Windows Explorer, Command Prompt, or any Windows application.\n\nIt is written entirely in Go and relies on WinFsp to interface with the Windows kernel.\n\n## Features\n\n*   **Read-Only:** Safely read from ext4 partitions without risking corruption.\n*   **Native Windows Integration:** Mounts as a standard drive letter (e.g., `G:`).\n*   **High Performance:** Caches directory entries and uses on-demand block fetching to ensure Windows Explorer remains responsive even when browsing large directories or files.\n*   **Self-Contained Installer:** Janus can automatically download and install its WinFsp dependency.\n\n## Prerequisites\n\n*   Windows 10 or Windows 11 (64-bit)\n*   Administrator privileges (required for raw disk access)\n\n## Installation\n\nJanus requires WinFsp, a FUSE-like file system in userspace framework for Windows. You can have Janus automatically install it for you.\n\n1.  Open **Command Prompt** or **PowerShell** as **Administrator**.\n2.  Run the installation command:\n    ```cmd\n    janus.exe install\n    ```\n    Janus will check if WinFsp is installed. If not, it will dynamically fetch the latest release from GitHub and install it silently.\n\n## Usage\n\nYou must run Janus from an **Administrator** command prompt so it can read raw physical disks.\n\n### 1. List Available Disks\nFind the physical disk containing your Linux partition:\n```cmd\njanus.exe devices\n```\n*Note the Disk number and Partition number.*\n\n### 2. List Partitions on a Disk\nTo inspect the partitions on a specific disk (e.g., Disk 0):\n```cmd\njanus.exe \\\\.\\PhysicalDrive0\n```\n\n### 3. Mount the Partition\nMount the desired partition to a drive letter (e.g., `G:`). \nFor example, to mount Partition 1 on Disk 0 to drive `G:`:\n```cmd\njanus.exe mount G: 0 1\n```\n\nKeep the terminal window open. The drive will remain mounted until you press `Ctrl+C` in the terminal to unmount it.\n\n## Architecture\n\n*   **`ext4`:** A pure Go implementation of an ext4 reader. It parses the superblock, block group descriptors, inode tables, and extent trees directly from raw bytes.\n*   **`disk`:** Interacts with the Windows storage subsystem to enumerate physical drives and read partition tables.\n*   **`mount`:** Translates ext4 concepts into FUSE operations using `cgofuse`.\n*   **WinFsp:** The Windows kernel driver that exposes the FUSE filesystem to the Windows I\u002FO manager.\n\n## Limitations\n\n*   **Read-Only:** Write support is not currently implemented.\n*   **Case Sensitivity:** Ext4 is case-sensitive, while Windows is generally case-insensitive. Janus exposes the raw names. Applications that expect case-insensitivity might behave unpredictably if multiple files differ only by case.\n*   **Permissions:** Unix permissions are ignored. All files are presented as readable to ensure compatibility with Windows Explorer.","Janus 是一个适用于 Windows 的只读 ext4 文件系统驱动程序，允许用户将 Linux 的 ext4 分区作为 Windows 本地驱动器挂载，从而在 Windows 资源管理器、命令提示符或任何 Windows 应用程序中无缝访问 Linux 文件。该项目完全使用 Go 语言编写，并通过 WinFsp 与 Windows 内核进行交互，确保了高性能和稳定的目录缓存机制。Janus 适合需要在 Windows 环境下访问 Linux 文件系统的开发者或用户，特别适用于双系统用户或那些希望在不重启计算机的情况下查看 Linux 数据的场景。由于其只读特性，Janus 在提供便利的同时也保证了数据的安全性，避免了意外修改导致的数据损坏风险。","2026-06-11 04:06:19","CREATED_QUERY"]