diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 11:21:54 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 11:21:54 -0800 |
commit | 6053d313ce3abe876c7d05574effab438ce5e410 (patch) | |
tree | 0ff96b8118d625e57123a42e6582b9f0e0575583 /source/blog/2014-10-25-os-x-package-receipts.md | |
parent | d484ca3946753a6dda8f37bb3a2529fc06294fc5 (diff) | |
download | my_new_personal_website-6053d313ce3abe876c7d05574effab438ce5e410.tar.xz my_new_personal_website-6053d313ce3abe876c7d05574effab438ce5e410.zip |
Markdown source files: Use ... to end YAML metadata block
Also add a newline after the metadata block.
... is easier on markdown-mode; if --- is used, the line immediately
above it will be treated as a setext header and highlighted, which isn't
so easy on the eyes.
Diffstat (limited to 'source/blog/2014-10-25-os-x-package-receipts.md')
-rw-r--r-- | source/blog/2014-10-25-os-x-package-receipts.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blog/2014-10-25-os-x-package-receipts.md b/source/blog/2014-10-25-os-x-package-receipts.md index 54ec1905..99e20bed 100644 --- a/source/blog/2014-10-25-os-x-package-receipts.md +++ b/source/blog/2014-10-25-os-x-package-receipts.md @@ -2,7 +2,8 @@ title: "OS X package receipts" date: 2014-10-25T13:26:02-0700 date_display: October 25, 2014 ---- +... + I just learned something new. Whenever you install a `pkg` on OS X, OS X stores a receipt of what was installed in `/var/db/receipts` (I'm running OS X 10.9.5 at the time of writing), called a **bom** — bill of materials (I’d rather call it a manifest, whatever). This feature was introduced in NeXTSTEP. From `man 5 bom`: > The Mac OS X Installer uses a file system "bill of materials" to determine which files to install, remove, or upgrade. A bill of materials, **bom**, contains all the files within a directory, along with some information about each file. File information includes: the file's UNIX permissions, its owner and group, its size, its time of last modification, and so on. Also included are a checksum of each file and information about hard links. |