# @ai-ecoverse/wasm-mount 中文文档

规范地址：https://npmcn.com/package/%40ai-ecoverse/wasm-mount/

版本：1\.0\.0-5
npm 元数据更新时间：2026-10-20T23:11:46.932Z
中文译文更新时间：2026-11-05T21:42:40.785Z
软件包许可：Apache-2\.0

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40ai-ecoverse/wasm-mount
原文对照：https://npmcn.com/package/%40ai-ecoverse/wasm-mount/?lang=original
项目主页：https://github.com/ai-ecoverse/homescoop/tree/main/packages/mount
源码仓库：https://github.com/ai-ecoverse/homescoop

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：240 kB，8 个文件
- TypeScript 类型：未声明
- 运行依赖：0 个
- 首次发布：2026-10-08T20:12:19.076Z
- 最新版本发布：2026-10-20T23:11:46.574Z
- 近 30 天下载量：16861（2026-10-05 至 2026-11-03，npm 官方下载统计）
- 已发布版本数：6（近 12 个月 6 个）

## 中文简介

挂载和卸载:在目录中附加文件系统(tmpfs, hostfs等).

## 安装

```sh
npm install @ai-ecoverse/wasm-mount
```

也可以使用：`pnpm add @ai-ecoverse/wasm-mount`、`yarn add @ai-ecoverse/wasm-mount`、`bun add @ai-ecoverse/wasm-mount`

## README

# `@ai-ecoverse/wasm-mount`

`mount` 财务报告和审定财务报表 `umount` 页:1 [块状](https://github.com/ai-ecoverse/slicc)刚才 领域。 进程通过内核本身的驱动程序(tmpfs, fsa, hostf, 已安装类型).

```bash
pnpm add -g @ai-ecoverse/wasm-mount
mkdir -p /mnt/scratch /mnt/f
mount -t tmpfs -o maxfile=1g none /mnt/scratch
mount -t fsa none /mnt/f        # empty ("nomedium") until "Insert folder" in the page
mount                           # list /proc/mounts
umount /mnt/scratch
umount -l /mnt/f                # detach even if busy
```

-   `mount [-l] [-t type]` 列表挂载的文件系统.
-   `mount [-frwv] [-t type] [-o options] <source> <directory>` 挂载( r)`-f` 假装它. `ro`编号 :`rw` 设置只读; 其他选项到驱动程序(`maxfile=1g`(中文(简体) ).
-   `umount [-lfv] <directory>|<source>...` 卸载; `-l`编号 :`-f` 立即离开.

安置、捆绑、移动, `mount -a` 不支持 fstab 浏览 . 旗帜是Util-linux的子集,有相同的拼写和同音 列表格式。 退出代码跟随 util-linux:1用于使用,32用于挂载失败.

要求数 `@ai-ecoverse/slicc-kernel` • 1.1.7.0 (流程挂载、残块-内核#92); 较旧的内核回答"mount(2)不可用".

## 1.0.0-5 (homescoop#666; 2026-10-20) (中文(简体) )

`EPERM` 从挂载或卸载中读取 `Operation not permitted (not your mount point, or refused by the kernel's mount policy)`。在用户强制下,用户只能在自己的目录和旧目录上挂载 `(process mounts are disabled here)` 对那个案子来说是错误的.

## 常见问题

### @ai-ecoverse/wasm-mount 是什么？

挂载和卸载:在目录中附加文件系统\(tmpfs, hostfs等\)\.

### 如何安装 @ai-ecoverse/wasm-mount？

在项目目录运行 npm install @ai-ecoverse/wasm-mount，或使用 pnpm add / yarn add / bun add。

### @ai-ecoverse/wasm-mount 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/ai-ecoverse\_\_wasm-mount 是否存在。

### @ai-ecoverse/wasm-mount 可以商用吗？

@ai-ecoverse/wasm-mount 使用 Apache-2\.0 许可。宽松许可：允许商业使用、修改和再分发，并附带明确的专利授权；分发时需保留许可与 NOTICE 文件，修改过的文件要注明改动。以上为概括，不构成法律意见，请以许可原文为准。

### @ai-ecoverse/wasm-mount 的下载量有多少？

根据 npm 官方下载统计，@ai-ecoverse/wasm-mount 在 2026/10/05 – 2026/11/03 这 30 天内被下载 16,861 次，日均约 562 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @ai-ecoverse/wasm-mount 还在维护吗？

最新版本 1\.0\.0-5 发布于 2026/10/21（16 天前）；至今共发布 6 个版本，其中过去 12 个月发布了 6 个；首次发布于 2026/10/09。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

