免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6713 | 回复: 9
打印 上一主题 下一主题

为什么FreeBSD的ISO映像有后缀?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-25 22:31 |只看该作者 |倒序浏览
刚刚接触FreeBSD,很多不明白
FreeBSD-8.2-RELEASE-amd64-dvd1.iso.xz

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
2 [报告]
发表于 2011-02-25 23:15 |只看该作者
一直从网络升级,还真没注意到这个变化。

论坛徽章:
2
技术图书徽章
日期:2013-11-23 01:55:57白羊座
日期:2013-12-08 15:48:16
3 [报告]
发表于 2011-02-25 23:16 |只看该作者
本帖最后由 7looki 于 2011-02-25 23:26 编辑
刚刚接触FreeBSD,很多不明白
FreeBSD-8.2-RELEASE-amd64-dvd1.iso.xz
yangysm 发表于 2011-02-25 22:31

The .xz file format

The .xz file format is a container format for compressed streams. There are no archiving capabilities, that is, the .xz format can hold only a single file just like the .gz and .bz2 file formats used by gzip and bzip2, respectively.

Compared to a few other popular stream compression formats, the .xz format provides a couple of advanced features. At the same time, it has been kept simple enough to be usable in many embedded systems. Here is a summary of the features:

Streamable: It is always possible to create and decompress .xz files in a pipe; no seeking is required.

Random-access reading: The data can be split into independently compressed blocks. Every .xz file contains an index of the blocks, which makes limited random-access reading possible when the block size is small enough.

Multiple filters (algorithms): It is possible to add support for new filters, so no new file format is needed every time a new algorithm has been developed. Developers can use a developer-specific filter ID space for experimental filters.

Filter chaining: Up to four filters can be chained, which is very similar to piping on the UN*X command line. Chaining can improve compression ratio with some file types. Different filter chain can be used for every independently compressed block.

Integrity checks: Integrity of all headers is always protected with CRC32. The integrity of the actual data may be verfied with CRC32, CRC64, SHA-256, or the check may be omitted completely. It is possible to add new integrity checks in future, but there is no possibility for developer-specific check IDs like there is for filter IDs.

Concatenation: Just like with .gz and .bz2 files, it is possible to concatenate .xz files as is. The decompressor can decompress a concatenated file as if it was a regular single-stream .xz file.

Padding: Binary zeros may be appended to .xz files to pad them to fill e.g. a block on a backup tape. The padding needs to be multiple of four bytes, because the size of every valid .xz file is a multiple of four bytes.

Once a new filter or integrity check has been added to the .xz file format specification, it won't be removed. This is to ensure that all .xz files, that use only the filters defined in the .xz file format specification, can always be decompressed in future.

New filters, integrity checks, or other additions to the .xz file format are unlikely to occur very often. Useless bloat can be avoided when new filters are added to the official list only when the new filters are clearly useful.

论坛徽章:
0
4 [报告]
发表于 2011-02-25 23:32 |只看该作者
E文件不好,翻译大概看了一下,那个.xz是个压缩包?

论坛徽章:
0
5 [报告]
发表于 2011-02-26 21:15 |只看该作者
清楚了 .xz是个压缩包,原来的是2G,解压后是2.2G

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-02-23 06:20:00操作系统版块每日发帖之星
日期:2016-03-12 06:20:00IT运维版块每日发帖之星
日期:2016-03-14 06:20:00
6 [报告]
发表于 2011-02-26 23:50 |只看该作者
.tar  .xz是容器.本身没有解压缩文件大小的功能.
.gz .bz2才是解压缩格式. 会影响文件的大小.

我从freebsd的种子站下的iso文件。没注意到还有这种.xz格式.

论坛徽章:
0
7 [报告]
发表于 2011-02-27 01:17 |只看该作者
用7-zip可以解压的

论坛徽章:
0
8 [报告]
发表于 2011-03-07 09:49 |只看该作者
刚刚接触FreeBSD,很多不明白
FreeBSD-8.2-RELEASE-amd64-dvd1.iso.xz
yangysm 发表于 2011-02-25 22:31



    这个是7zip压缩过的。可能是为了节省空间吧!你用好压或者其他的解压缩软件解压就可以了。

论坛徽章:
0
9 [报告]
发表于 2011-03-07 09:50 |只看该作者
一直从网络升级,还真没注意到这个变化。
lsstarboy 发表于 2011-02-25 23:15



    看来版主大神,用BSD好久了吧。。

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
10 [报告]
发表于 2011-03-07 10:08 |只看该作者
还在讨论吗?大飞机已经发话了:

http://www.freebsdchina.org/forum/viewtopic.php?t=51239
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP