I have one folder "test" which contains only one sparse file. The logical size of file is 5.24 GB but physical size is zero bytes, which is correctly displayed in file properties, but the physical size of parent folder is not zero bytes.
I want to know why there is difference in physical size of file and parent folder and is there any way to modify folder's physical size. Although du -sh returns correct physical size but I want to display it in info too, similar to the way it is displayed for sparse file.
I am using High Sierra with APFS. Check the property "Size" of file and folder in below image.
Why the physical size of folder containing the sparse file is not displaying correct size in Info
292 Views Asked by Ankita Shrivastava At
0
There are 0 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in MACOS
- How do I customize NSOutlineView to have border color?
- Force sublime text to use PATH from the shell value
- Do executable files always open a terminal window on MacOS?
- setting OpenGL version in objective-C
- C std library don't appear to be linked in object file
- Cross compile simple standard C program on Linux for Mac
- How to generate request format for WCF web service method for Mac and iPhone
- Bundle Multiple Xamarin apps in one pkg installer
- How to Handle Command Line Prompt from a Cocoa App
- AVFoundation - Process each image separately
- CMYK NSImage get pixel data
- how i get the mac of ibeacon or BLE
- Set JAVA_HOME on Mac
- Finding active IPv6 interfaces under Mac OS (using Python)
- OSX: Why is my launchd agent running my script twice?
Related Questions in MACOS-HIGH-SIERRA
- rJava load error in RStudio/R after "upgrading" to OSX Yosemite
- Xcode 9 beta 4 beta 6, macOS 10.13 beta 7 Simulator can't render screens
- Kernel extension not removed from /Library/StagedExtension in High Sierra OSX
- AppleScript to create 'link' to specific Messages.app conversation?
- Deploying C# Projects from Visual Studio 2017 for MacOS
- Is it possible to (programmatically) set wallpapers for each separate "space"/desktop in macOS?
- iOS 11 - Core Data - UIColor no longers works as transformable attribute
- macOS 10.13: "Scheduling the NSURLDownload loader is no longer supported."
- Xcode 9 - Downloadable xip file is corrupt from apple site
- Installing node takes up to 8 minutes
- iphone simulator(10.3) time not showing according to timezone in mac OS (10.13)
- How to upgrade xcode by keeping the previous version?
- Fixing Broken Kerberos on macOS
- Having trouble setting up localhost on mac
- MacOS High Sierra Uninstall All Postgres
Related Questions in SPARSE-FILE
- How to update image using parse Android?
- How to copy sparse file from ESXi quickly?
- Sparse files: How to find contents
- Code example - how to find holes in sparse files with Win32 API?
- Win32 code example - punch holes into file to deallocate blocks and make it a "sparse file"?
- Win32 API equivalent to POSIX pathconf() _PC_MIN_HOLE_SIZE (minimum sparse file hole size)?
- Win32 fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, ...) API example?
- Is there a method of quickly determining whether a chunk read from a (sparse) file is all zeros?
- Output numpy.ndarray as csr file
- How to convert a sparse matrix to a dense matrix from .mat file in Python?
- How to delete content in sparse files?
- Is it possible to create a >8 EiB sparse file anywhere?
- Why dd can't handle sparse files in shell scripts?
- Enlarging a Sparse File
- Does DeviceIoControl(FSCTL_QUERY_ALLOCATED_RANGES) guarantees order and (no intersection) of returned ranges?
Related Questions in APFS
- Create APFS RAM disk on macOS High Sierra
- What is the Cocoa method for doing the Carbon FSExchangeObjectsCompat call?
- patch: **** can't create temporary file permission denied
- How to use 1 Data Volume with 2 MacOS versions?
- Determine Volume Groups in macOS Catalina, Big Sur and later
- How to fix an APFS corruption?
- Git: list case-sensitive paths that have collided during clone
- Why macOS filesystem watchers are slower than Linux and doesn't work in WebStorm?
- Big Sur macOS 11.2.1 (20D74) is running from "APFS System Snapshot" – How to fix?
- Creating installers for my products
- How do you INCREASE the size of an APFS volume?
- Why the physical size of folder containing the sparse file is not displaying correct size in Info
- How to read and modify meta data of a folder in High sierra (APFS)
- FSEvent API doesn't preserve the case/normalization for file/folder delete
- MacOS 10.15.4 APFS is overwriting case-sensitive files
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
