工具与资源github.com
ntfs2btrfs:把 NTFS 文件系统原地转换为 Btrfs
Ntfs2btrfs does in-place conversion of NTFS filesystem to the open-source Btrfs
2022 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
ntfs2btrfs 是一个开源工具,可以在不复制数据的情况下将 NTFS 文件系统原地转换为 Btrfs。它出自 WinBtrfs 和 Quibble 的作者,让用户能把旧 Windows 分区直接迁移到开源文件系统。
为什么经久不衰:原地转换文件系统是少见且实用的能力,加上作者在 Windows 上实现 Btrfs 的系列项目,使其成为跨平台文件系统迁移的经典工具。
HN 评论精选
从 ext4 死忠转为 Btrfs 用户,实际使用体验良好,愿意信任发行版的默认选择
我以前属于'为什么要用 Btrfs'阵营,在 Fedora 上坚持只用 ext4。后来看到发行版持续默认提供 Btrfs,加上去重、校验和、快照等现代文件系统特性确实有吸引力,我就在新笔记本上试了。到目前为止没遇到任何问题。我已经到了没时间折腾配置的年纪,既然发行版愿意承担维护责任,我愿意信任他们。
basilgohar查看英文原文
I used to be in the "why BTRFS" camp and religiously would only install ext4 without LVM on Fedora for my laptops, desktops, and servers. When I saw so many subsequent releases persist in offering BTRFS by default, I decided to try it for a recent laptop install, because honestly, the appeal of deduplication, checksumming, snapshotting, and so many other features that modern FSes generally come with (e.g., ZFS), I just decided to jump the gun and went ahead and installed it. I can safely say it has not presented any problem with me thus far, and I am at the stage of my life where I realize that I don't have the time to fiddle as much with settings. If the distributions are willing to take that maintenance on their shoulders, I'm willing to trust them and deal with the consequences – at least I know I'm not alone.
作者亲身经历:原地转换和 btrfs 多盘阵列都踩过很多坑,建议直接复制数据到新卷
虽然这能把我的旧 NTFS 分区拖进 21 世纪,但我再也不会做原地转换了。几年前我从 ext3 转 btrfs,轻度使用几小时后就灾难性崩溃,试了几次都不行。最后我干脆把数据复制到新的 btrfs 卷。但之后又遇到一堆问题:很多想快照的东西得关掉 CoW、碎片整理实际上会解除共享的 extent、多盘阵列上 btrfs 的故障模式会让根文件系统变只读。我大概丢了三四个本应'有冗余'的文件系统才放弃。
drbawb查看英文原文
Although this would be an interesting way to drag some of my old NTFS filesystems kicking & screaming into the 21st century, I'd never do one of these in-place conversions again. I tried to go from ext3 to btrfs several years ago - and it would catastrophically fail after light usage. (W're talking less than a few hours of desktop-class usage. In retrospect I think it was `autodefrag/defragment` that would kill it.) I tried that conversion a few times and it never worked, I think I even tried to go from ext3->ext4->btrfs. This was on an Arch install so (presumably) it was the latest and greatest kernel & userspace available at the time. I eventually gave up (/ got sick of doing restores) and just copied the data into a fresh btrfs volume. That worked "great" up until I realized (a) I had to turn off CoW for a bunch of things I wanted to snapshot, (b) you can't actually defrag in practice because it unlinks shared extents and (c) btrfs on a multi-drive array has a failure mode that will leave your root filesystem readonly; which is just a footgun that shouldn't exist in a production-facing filesystem. - I should add that these were not particularly huge filesytems: the ext3 conversion fiasco was ~64G, and my servers were like ~200G and ~100G respectively. I also was doing "raid1"/"raid10" style setups, and not exercising the supposedly broken raid5/raid6 code in any way. I think I probably lost three or four filesystems which were supposed to be "redundant" before I gave up and switched to ZFS. Between (a) & (b) above btrfs just has very few advantages compared to ZFS. Really the only thing going for it was being available in mainline kernel builds. (Which, frankly, I don't consider that to be an advantage the way the GPL zealots on the LKML seem to think it is.)
质疑原地转换的必要性——如今硬盘便宜,备份重装更安全
原地转换 NTFS?你要么还信神,要么该查查现在硬盘多少钱了。认真问一句:为什么会有人做分区的原地转换?
Flocular查看英文原文
In-place conversion of NTFS? You either still believe in a god or need to google the price of harddrives these days. Honest question tho, why would anybody do in-place conversion of partitions?
指出作者是 WinBtrfs/Quibble 的同一人,整套工具理论上能让 Windows 原生跑在 Btrfs 上
这出自 WinBtrfs 和 Quibble 的作者——前者是 Windows NT 的 Btrfs 可安装文件系统,后者是引导程序。有了这一整套,理论上可以在 Btrfs 上原生启动和运行 Windows。
boricj查看英文原文
From the same person that made WinBtrfs and Quibble, a Windows NT Btrfs installable filesystem and bootloader. And yes, with all of that one can boot and run Windows natively on Btrfs, at least in theory.
历次讨论
同类还值得读
直接在浏览器中启动 Linux 内核
Boot a linux kernel right inside your browser.
Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。
工具与资源上首页 5 次 · 2011–2025bellard.orgHacker News 未公开功能与行为清单(2018)
A List of Hacker News's Undocumented Features and Behaviors (2018)
数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。
工具与资源上首页 5 次 · 2019–2025github.comMapSCII:在终端中用盲文和 ASCII 渲染地图
MapSCII – Braille and ASCII map renderer for the console
MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。
工具与资源上首页 5 次 · 2017–2025github.com顶尖大学的免费在线课程
Free Online Courses from Top Universities
Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。
工具与资源上首页 5 次 · 2010–2022openculture.com淘气字符串:容易引发用户输入问题的字符串清单
Naughty Strings: A list of strings likely to cause issues as user-input data
一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。
工具与资源上首页 4 次 · 2015–2020github.com