会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rincloud
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2026年10月13日
vsode debug root
摘要: { "version": "0.2.0", "configurations": [ { "name": "containerd", "type": "go", "request": "launch", "mode": "auto", "console": "integratedTerminal",
阅读全文
posted @ 2026-10-13 11:42 rincloud
阅读(3)
评论(0)
推荐(0)
2026年10月3日
vm快照例子
摘要: 1. 开启嵌套虚拟化 limactl start --1name=ubuntu --cpus=8 --memory=16 --containerd none --vm-type=vz --nested-virt template://ubuntu-24.04 2. 下载安装golang [ go1.
阅读全文
posted @ 2026-10-03 13:20 rincloud
阅读(4)
评论(0)
推荐(0)
2026年7月17日
bufpool 脏数据例子
摘要: package main import ( "fmt" "math/rand" "runtime" "sync" "time" ) var bufPool = &sync.Pool{ New: func() any { buffer := make([]byte, 0, 2) return &buf
阅读全文
posted @ 2026-07-17 16:43 rincloud
阅读(12)
评论(0)
推荐(0)
2026年6月13日
umount 什么时候sync
摘要: 一、先理清:只有卸载真实块设备挂载根、且 super_block 无其他引用时,才会触发 sync_filesystem 全局刷脏 mount --bind 只是别名,umount bind 目标不会刷;下面构造能真实触发 umount 时刷脏的完整可复现例子(XFS/ext4 通用)。 前置准备:
阅读全文
posted @ 2026-06-13 18:08 rincloud
阅读(35)
评论(0)
推荐(0)
umount 如何sync dir的
摘要: 1. static int do_umount(struct mount *mnt, int flags) 代码中 event++; if (flags & MNT_DETACH) { if (!list_empty(&mnt->mnt_list)) umount_tree(mnt, UMOUNT_
阅读全文
posted @ 2026-06-13 16:36 rincloud
阅读(12)
评论(0)
推荐(0)
2026年2月26日
fedora 启动例子
摘要: fedora 启动例子https://codeofconnor.com/booting-cloud-images-with-qemu/
阅读全文
posted @ 2026-02-26 19:48 rincloud
阅读(10)
评论(0)
推荐(0)
2026年2月13日
busybox vscode 环境
摘要: https://zhuanlan.zhihu.com/p/12982590356 CONFIG_MEMCG 要开启 memory 写不下去 CONFIG_BPF_SYSCALL 要开启 使用vscode单步调试 qemu-img create -f raw rootfs.img 512M mkfs
阅读全文
posted @ 2026-02-13 15:28 rincloud
阅读(24)
评论(0)
推荐(0)
2026年2月7日
golang 闭包
摘要: 一、闭包的通俗定义:带 “背包” 的函数 先给一个最容易理解的比喻: 普通函数就像一个空着手出门的人,只能用自己手里的东西(参数、内部变量); 闭包就像一个带着背包出门的人,背包里装着它从 “家里”(外层函数)带出来的东西(外层变量),不管走到哪里(被传到哪里调用),都能拿出背包里的东西用,还能修改
阅读全文
posted @ 2026-02-07 15:22 rincloud
阅读(72)
评论(0)
推荐(0)
2025年11月18日
nerdbox 进程树
摘要: root 3525 1.6 3.0 4557956 120436 pts/1 Sl 22:45 0:01 /usr/local/bin/containerd-shim-nerdbox-v1 -namespace default -id test -address /run/containerd/co
阅读全文
posted @ 2025-11-18 22:47 rincloud
阅读(17)
评论(0)
推荐(0)
2025年9月4日
crun-vm 进程树
摘要: 进程树 root 6128 1.0 1.9 2130200 78852 ? Ssl 22:48 0:03 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --selinux-enabled --userla
阅读全文
posted @ 2025-09-04 22:56 rincloud
阅读(28)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告