About: Sparse image

An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

A sparse image is a type of disk image file used on macOS that grows in size as the user adds data to the image, taking up only as much disk space as stored in it. Encrypted sparse image files are used to secure a user's home directory by the FileVault feature in Mac OS X Snow Leopard and earlier. Sparse images can be created using Disk Utility.

Property Value
dbo:abstract
  • A sparse image is a type of disk image file used on macOS that grows in size as the user adds data to the image, taking up only as much disk space as stored in it. Encrypted sparse image files are used to secure a user's home directory by the FileVault feature in Mac OS X Snow Leopard and earlier. Sparse images can be created using Disk Utility. Unlike a full image file (.dmg), which takes up as much actual space as the real disk it represents (regardless of the amount of unused space), a sparse image file (.sparseimage) takes up only as much actual disk space as the data contained within, up to a maximum of the capacity assigned during creation. (en)
  • 稀疏磁盘映像 是一种磁盘映像文件,可以由Mac OS X系统下的Disk Utility创建。Mac OS X 的 FileVault 功能使用的就是加密的稀疏磁盘映像文件来保护用户的主目录。 普通的磁盘映像文件 (.dmg)的大小与其代表的实际磁盘是一样的(尽管其中尚有空间未使用),而稀疏磁盘映像文件 (.sparseimage) 的大小仅为实际使用数据的磁盘空间。 这对备份数据非常有利,比如,当用户需要给一个名为 "INFO"的硬盘备份,硬盘本身容量为5GB 而实际上里面只有 2.5GB 的数据。如果使用一张单层 DVD-R (容量约为 4.7GB )将无法容纳一个普通的 "INFO.dmg" 映像文件,而 "INFO.sparseimage" 映像就没有这个问题,因为原来卷宗未使用的 2.5GB 实际上并没有分配到在稀疏磁盘映像中, "INFO.sparseimage" 文件只占用 2.5GB. 要注意,如果将备份好的 2.5GB "INFO.sparseimage" DVD再次接入时 Finder 会报告它有 5GB 容量,2.5GB 可用。但实际上这个是“只读”的,因为其原映像放在了一张只读光盘上。不过,如果这个 2.5GB 的稀疏磁盘映像文件 "INFO.sparseimage" 写在硬盘上,当接入系统后,用户可以继续写入文件,直到原有的 5GB 容量写满为止。追加写入文件时, ".sparseimage" 文件将随之增大。 从已接入的虚拟盘中删除文件不会让 ".sparseimage" 文件容量减少,只有将其推出时,整个映像文件才会随之变小。 使用此映像文件类型有两个限制: 1. * 由于 ".sparseimage" 映像文件容量可变,因此当其容量不断增大时,有时会导致容纳这个映像文件的物理卷宗(或硬盘分区)容量不足。这个时候 ".sparseimage" 文件必须转移到一个更大的物理磁盘或分区。 2. * 如上所述,当往接入的 ".sparseimage" 文件叶榕文件导致容量自动增大时,必须使用 Disk Utility, hdiutil, 或其他工具来进行算法修正。 当疏散磁盘映像文件没有接入系统时, .sparseimage 文件可以通过 Disk Utility 的 Resize Image 功能或“终端”的命令行来改变大小。如在下例中,疏散磁盘映像文件可最大扩展到 50 GB: hdiutil resize -size 50g MyFile.sparseimage 同样,一个 .sparseimage 文件容量增长后又有文件删除,可以用以下命令进行 "压缩" : hdiutil compact MyFile.sparseimage 关于命令 hdiutil 的详细内容可以通过以下命令查询: man hdiutil (zh)
dbo:wikiPageID
  • 9710307 (xsd:integer)
dbo:wikiPageLength
  • 5580 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1015571314 (xsd:integer)
dbo:wikiPageWikiLink
dbp:conformsTo
  • com.apple.disk-image (en)
dbp:containerFor
  • file system objects (en)
dbp:extension
  • .sparseimage (en)
dbp:genre
dbp:name
  • Sparse Disk Image (en)
dbp:owner
dbp:uniformType
  • com.apple.disk-image-sparse (en)
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • A sparse image is a type of disk image file used on macOS that grows in size as the user adds data to the image, taking up only as much disk space as stored in it. Encrypted sparse image files are used to secure a user's home directory by the FileVault feature in Mac OS X Snow Leopard and earlier. Sparse images can be created using Disk Utility. (en)
  • 稀疏磁盘映像 是一种磁盘映像文件,可以由Mac OS X系统下的Disk Utility创建。Mac OS X 的 FileVault 功能使用的就是加密的稀疏磁盘映像文件来保护用户的主目录。 普通的磁盘映像文件 (.dmg)的大小与其代表的实际磁盘是一样的(尽管其中尚有空间未使用),而稀疏磁盘映像文件 (.sparseimage) 的大小仅为实际使用数据的磁盘空间。 这对备份数据非常有利,比如,当用户需要给一个名为 "INFO"的硬盘备份,硬盘本身容量为5GB 而实际上里面只有 2.5GB 的数据。如果使用一张单层 DVD-R (容量约为 4.7GB )将无法容纳一个普通的 "INFO.dmg" 映像文件,而 "INFO.sparseimage" 映像就没有这个问题,因为原来卷宗未使用的 2.5GB 实际上并没有分配到在稀疏磁盘映像中, "INFO.sparseimage" 文件只占用 2.5GB. 使用此映像文件类型有两个限制: 当疏散磁盘映像文件没有接入系统时, .sparseimage 文件可以通过 Disk Utility 的 Resize Image 功能或“终端”的命令行来改变大小。如在下例中,疏散磁盘映像文件可最大扩展到 50 GB: hdiutil resize -size 50g MyFile.sparseimage man hdiutil (zh)
rdfs:label
  • Sparse image (en)
  • 稀疏磁盘映像 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License