471
edits
(Created page with "Notes and other random things related to the macOS hdiutil command. == Create a loop device == Similar to losetup for Linux, this allows setting up a {{iw|wikipedia|loop devi...") |
m (code -> tt) |
||
Line 16: | Line 16: | ||
After attaching it can be formatted with any tool, such as diskutil, Disk Utility, or newfs_*. | After attaching it can be formatted with any tool, such as diskutil, Disk Utility, or newfs_*. | ||
== < | == <tt>create -srcfolder</tt> doesn't preserve creation time == | ||
Still does this as of Big Sur. Creation time is reset to modified time. This isn't really an issue unless you're like me and want to preserve as much info as possible. | Still does this as of Big Sur. Creation time is reset to modified time. This isn't really an issue unless you're like me and want to preserve as much info as possible. | ||
Currently the only way I found around this is to manually copy the files in Finder. Maybe there's another command-line tool to preserve this data. Either way though, it means the disk image needs to be manually created with the right size. | Currently the only way I found around this is to manually copy the files in Finder. Maybe there's another command-line tool to preserve this data. Either way though, it means the disk image needs to be manually created with the right size. |