Questions tagged [filesystem]

The system used to format and organize files on a disk. This includes directory structure, permissions management, metadata, and more. The current default file system for macOS is APFS (High Sierra and higher) and HFS+ (Sierra or lower).

Filter by
Sorted by
Tagged with
2
votes
1answer
26 views

Where can I find the APFS format documentation / volume specification?

One of my favorite Mac apps, DiskWarrior, has been waiting for the APFS format documentation (also called the APFS volume specification) for a while, in order to make a new program version which can ...
0
votes
1answer
40 views

Prevent files in a folder from being moved?

On a Mac, is there a way to prevent files in a folder X from being moved by any means (by the Comd+C then Comd+Opt+V on Finder, or by mv command on the command line, or by other apps etc.) to another ...
3
votes
1answer
47 views

How to skip files with ditto command line utility?

I'm trying to import a large (100GB+) iPhoto library located on a seemingly faulty external drive, that always yields an error -36 when I attempt to copy the library using Finder. I therefore tried ...
0
votes
1answer
29 views

APFS on external drive missing from Disk Utility

When I use Disk Utility app in macOS Mojave to format an external drive, I do not see the new Apple File System (APFS) offered as a choice of format. Does it matter that my external drive is a ...
1
vote
2answers
52 views

Is it possible to keep dot files with specific extension unhidden in Finder?

I know that all the hidden files (dot files) can be viewed in Finder by using the keyboard shortcut: Command + Shift + . or by running the following in Terminal: defaults write com.apple.finder ...
7
votes
1answer
4k views

What is the “ls” directory in my home directory?

I was just exploring the directory structure on my Mac and there's a directory in my root/home directory, named ls. [~]$ ls -l . . . drwxr-xr-x 6 XXXX staff 192 Dec 8 2018 ls [~/ls]$ pwd /...
1
vote
0answers
21 views

How to check if any file on Volume Y is missing on Volume Z?

I have multiple external HDD's, many USB thumb drives, a boat load of SD cards and so on. I've not diligently kept everything centrally stored. This goes back years. I now want to clean up this mess ...
0
votes
1answer
38 views

is it safe to delete /private/tmp vs /private/var/tmp?

I see these dirs are bloated with size in many GBs. I have never touched these. Occationally I just delete /private/var/mail/ishandutta2007
1
vote
2answers
83 views

Where are images metadata and album data stored on iPhone? and how to extract them?

I am trying to connect to my iPhone via iTunesMobileDevice.dll and other libraries provided by iTunes. So far I am able to reach the file system and copy images from iPhone. However images are stored ...
2
votes
1answer
28 views

How do currently downloading files show a circular progress indicator besides them in Finder?

When downloading a file using Google Chrome, Mac App Store, or some other app, Finder usually displays a circular progress indicator besides the file name. Out of curiosity, is there any technical ...
0
votes
0answers
30 views

Protecting my files/folders

I need any software / solution to protect some files/folders which means these files/folders should not be copyable or movable to another device any idea ? Update ,, I have a software codes &&...
2
votes
0answers
51 views

Unable to prevent APFS partition from mounting automatically in Mojave (10.14.5)

I'm trying to prevent macOS from asking me the FileVault password for 2 APFS partitions on boot. I don't want them to be mounted at all. APFS container: /dev/disk1 (synthesized): #: ...
3
votes
1answer
33 views

Entering path containing spaces in Terminal

Working on my MacBook Pro, I want to change the location of my iPhone backup to an external drive, but when entering the command on the CLI I hadn't noticed that the destination drive has a space in ...
4
votes
1answer
25 views

Disk space given back to Mac HD after removing partition, but is not usable [duplicate]

This looks similar to some other related questions here, but has some meaningful differences. I thought it was worth a separate question for that reason. Like others I had an error while installing ...
2
votes
1answer
75 views

Rename file names in directory to creation timestamp with second precision

Is there an easy way to do this for files in a particular directory - to have their names be renamed to the file timestamp, with seconds level precision Clarification: For example, suppose a (Mac ...
3
votes
3answers
148 views

Why have symbolic links between files in folders at same depth?

I noticed that in macOS, the /usr/local/Cellar folder contains binaries installed using Homebrew, and that /usr/local/opt has symbolic links to a bunch of those binaries. I haven't used symbolic links ...
3
votes
2answers
375 views

APFS - how do I enable transparent compression

How do i enable transparent filesystem compression on any APFS volume? Or check if it is already enabled? I am expecting something similiar to NTFS compressed attribute. According to Wiki it should ...
0
votes
0answers
17 views

Way to move all non photos and video out of photos library

I have a photos library. Somehow the library has unsupported file types in it. These files to not show up in the photos app. I am looking for a way to move these files out of the library. An ...
0
votes
1answer
54 views

Deleted an APFS Volume, but it still shows as “Other Volumes” claimed space within the container

I have an older MacBook Pro running OS X 10.13.6, the last version supported on the hardware. It has an SSD which was upgraded to APFS a while ago. A few months back, unfixable filesystem corruption ...
0
votes
0answers
34 views

How can I make a process in macOS use a different hosts file without using a chroot jail?

Unlike Linux, we cannot use HOSTALIASES env var. I believe it is possible to make a process see a different hosts file if I put it in a chroot jail, but I don't want to have to do that for this ...
0
votes
1answer
54 views

How can I make macOS respect HOSTALIASES environment variable?

According to the Apple developer documentation, setting HOSTALIASES will make a process look in that file for hostnames instead of /etc/hosts. However when I tested this with ping and a replacement ...
1
vote
0answers
259 views

How do I create a minimal chroot jail in macOS?

I am trying to figure out the minimal things I need to do to create a chroot jail in macOS. I have seen a few scripts online (https://github.com/skissane/mkjail, https://github.com/jsarenik/Mac-Hroot),...
1
vote
2answers
32 views

Finding the icon of the default application from Terminal

Say I have some files simple_doc.txt document.pdf website.html The .txt file opens with textEdit by default, the .pdf opens with Adobe Reader and the .html file will open in Google Chrome. How can ...
1
vote
2answers
45 views

Recreate old aliases in bulk to reduce their file size, keeping their name and creation date

I noticed that in recent versions of macOS, aliases I create are smaller than they used to be. I have a folder full of old aliases whose sizes range from 50 KB to 6 MB, but new aliases seem to be ...
1
vote
0answers
31 views

Recover deleted file by inode

I had a crazy file named ''$\r' that I wanted to delete by inode. So I googled how to do it and found an example. Being half asleep and a few beers in, I typed in the inode in the example: find . -...
2
votes
3answers
88 views

Automate arranging files into folders based on beginning of file name?

Looking to quickly arrange a whole load (talking about multiple thousands) of files into subfolders, and the files come in sets of three (left audio, right audio, video) separate files. Not ...
2
votes
1answer
38 views

STRANGE: After saving a file named BD.jpg, a few minutes later it got renamed to: Good morning -darling …!…-).jpg. WTH?

Yesterday a really strange thing happened to me. I exported 3 files via PhotoShop from the same .psd file: first CA.jpg, second HK.jpg than the third BD.jpg to a website's src project folder (loaded ...
2
votes
0answers
191 views

/private/var/db/uuidtext/dsc directory huge size

I have /private/var/db/uuidtext/dsc directory full of files. Directory size is >100GB and constantly growing. I've deleted all the files and also tried to reboot my mac, but it doesn't help. I've ...
0
votes
0answers
220 views

Cannot Compile APFS Fuse

Trying to compile APFS fuse to grab files off of a OSX partition; recieve errors when compiling: 87%] Building CXX object CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o /home/avgv5tv5linux/apfs-...
2
votes
1answer
138 views

Why has my hard drive started spinning-up each time I eject it?

When I eject the hard drive, the disk starts to slow down but then the disk starts spinning at full speed about a second later. The hard drive is not mounted but it is still spinning. I’m afraid to ...
1
vote
1answer
55 views

Partition table error in external ARECA RAID

Thanks for trying to help me fix this problem. I have been having trouble with my external RAID, the error message that I got was that I have a partition table error. The RAID contains six 4 TB hard ...
1
vote
1answer
41 views

internal SSD crash. macbook retina early 2016. Mac OS X el capitan

My macbook crashed after an ongoing update. I get the "?" file when rebooting it. After several test i decided to reformat my SSD as it was impossible to install a new version of mac OS X on it. At ...
0
votes
0answers
32 views

Where could I check to remove temp stored personal files

Do Mac's save any cached versions of files so that if using someone else's laptop or borrowing own laptop to a relative for temp usage need to be aware to remove to avoid personal info being seen? E.g....
0
votes
1answer
60 views

Where in the file system is my shared folder? (AKA: Where is /Volume, and Why Can't I Open It in Finder?)

I want to run a bash script periodically to track the size of a shared drive on my network. The command that produces the data I want is du -sh. I have created a Login item to mount the shared drive ...
4
votes
1answer
83 views

Why would files show zero size in Terminal by multiple KB in Finder?

I have a folder of font files that are ~30KB in size each. Finder shows this information correctly, but when I go to Terminal, it shows the files as each having a size of 0KB. ls -ltarh total 1008 -...
1
vote
1answer
116 views

Why is Mac OSX temp. directory in weird path

Comparing to Linux systems OSX default temporary directory seems to be in a weird path. I want to know why that is, at least how is this organized. Here are my observations: My echo "$TMPDIR" ...
1
vote
0answers
27 views

Issues with linking to a file on a local network file server

In my workplace we often save files to a local network file server, sometimes in locations with a very long hierarchy tree to navigate. This can take up time and lead to confusion. I've recently been ...
0
votes
0answers
20 views

How can I monitor system calls an app is making?

I want to analyze the behavior of an app. For instance, file access; I found an app that lists write operations but not read operations. It's been years since I've used Windows as my primary OS, but ...
0
votes
1answer
812 views

Missing nsmb.conf file

I'm looking for the nsmb.conf file to try some different settings to troubleshoot network connectivity issues. I'm on Mac OS Mojave. I cannot find that file in /etc/nsmb.conf or ~/Library/...
2
votes
1answer
133 views

I'm Unable to Boot into Mac OS Partition, partition type FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [duplicate]

I've seen similar answered questions like this. I'm unable to boot into my MacOS partition. Long story short, I had Windows BootCamp, removed it and then later installed Ubuntu Linux, then tried to ...
2
votes
1answer
55 views

Finder seems to be broken, Desktop files missing

I have an old imac mid 2010 with upgraded ram and ssd that works really well. I mostly use it for coding and I did not updated / installed any new apps lately. Since 24hours ago: finder seems to be ...
29
votes
2answers
4k views

Strange case of truly invisible file (?) and undeletable directory on macOS

I'm having issues deleting a directory on my macOS Mojave 10.14.3 system. The filesystem is APFS and these are the symptoms: $ rm -rf strange/ rm: strange/: Directory not empty $ sudo rm -rf ...
0
votes
0answers
184 views

Cannot see ntfs-3g mounted drive files in Finder, but can in Terminal

I use Macports and installed ntfs-3g @2017.3.23 with: sudo port install ntfs-3g I'm able to mount drives with: sudo /opt/local/bin/ntfs-3g /dev/disk2s1 /Volumes/NTFS -olocal -oallow_other However, ...
0
votes
0answers
162 views

The operation can’t be completed because the item is in use

I can not empty trash folder, getting message "The operation can’t be completed because the item “7” is in use." Tried sudo rm -rf ~/.Trash/* Getting message that directory is not empty: But looks ...
0
votes
0answers
11 views

USB HD that is R/W from Mac and Windows [duplicate]

If I have a USB external HD how can I format it so it is R/W from both Mac and Windows? Is that possible?
1
vote
0answers
17 views

Sorting file names using a custom rule

I saw that in iTunes if you select an item in your playlist and go to Edit > Info > Sorting, in the "Sort As" field you can enter the actual name in which you want the item to be sorted as when you ...
0
votes
1answer
41 views

Why does Finder's scp folder disappear when ssh is invoked?

sshfs 2.5 and fuse 3.8.3 were installed on OS X 10.11.6 ElCapitan Why does: sshfs users@fqdn.com:/mnt/CRUZERFIT16/Directory /Users/user/Documents/scpbox force the folder scpbox to disappear? I ...
0
votes
0answers
20 views

How can I customize iCloud's “Optimize Mac Storage” function?

iCloud has the ability to offload files from my laptop, which is useful when I am running low on space, as shown below In my case, I just installed Syncfusion's demos, and my files appear to be ...
0
votes
0answers
622 views

Removed /usr/lib/libstdc++.6.0.9.dylib - how to retrieve the original?

I'm on macOS Mojave and accidentally removed the following library: /usr/lib/libstdc++.6.0.9.dylib Upon booting up the system, I am greeted by the login screen followed by a black screen. I have ...
0
votes
2answers
124 views

My External Hard Drive's format changed to FAT16 without any reason

I have an ADATA HD710 1TB external hard drive which I use mostly in my Mac Mini 2011 and I have created two separate partitions for my drive. One of the partitions has APFS (Apple File System) format ...