Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

0
votes
0answers
18 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
31 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 ...
0
votes
0answers
23 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
24 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
37 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
25 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
78 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
35 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
68 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
27 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-...
1
vote
0answers
27 views
+50

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
42 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
35 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
27 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....
1
vote
1answer
46 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
69 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
86 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
23 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
14 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
127 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
68 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
48 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 ...
26
votes
2answers
1k 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
69 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
57 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?
0
votes
0answers
22 views

After deleting files to make space for windows partition, 'System' swells in size

I deleted a bunch of files so that I could free up 64GB of space for a windows bootcamp partition. When I started, the 'System' filesize was around 16GB, and now it's doubled to 36GB. Is there any ...
1
vote
0answers
15 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
37 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
15 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
56 views

Issues installing Fuse for macOS

I am trying to install Fuse for macOS on my iMac running macOS High Sierra 10.13.6. I am expecting to see Fuse shown under System Preferences → Security & Privacy where I have to approve the app ...
0
votes
0answers
353 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
81 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 ...
0
votes
0answers
13 views

Cannot recover mail.app subdirectories in ~/Library/Mail/V4

I had two issues with Mail.app The indexing was not properly working. When I removed attachements in old received messages, the file size would be reduced by half instead of by 99+%. I concluded ...
1
vote
0answers
28 views

How can I extract my MacBook Pro Notes files so that the data becomes “normal” again after my computer's file system crashed?

My MacBook Pro from ca. 2011-2013 or something kind of "crashed" - the computer's file system was ruined - when I did a manual forced shutdown because the Notes app was not responding. When I turned ...
0
votes
1answer
108 views

Desktop files showing in command line shell but not in Finder

I'm using iCloud drive. I have some HEIC files on my Desktop that I converted to jpg using a simple automator script. After the conversion, the jpgs are nowhere to be found in Finder or on the Desktop....
0
votes
1answer
25 views

MacOS File Permissions Reset After Writing

I have two user accounts on my MacOS 10.12, both should be able to read and write a KeePass file saved in /Users/Shared/. I've created a user group for this called me that contains both users. In the ...
3
votes
1answer
256 views

Creating mountable snapshot view in macOS

I'm used to backup my user's home using rsync. However, I now have data (eg, running database) that shouldn't be backed up while being changed, and I'd like to keep the applications changing them ...
1
vote
0answers
18 views

Cannot remove or update fuse for mac osx

I'm trying to upgrade my fuse but clicking update or remove button just does nothing. I tried directly installing 3.8.2 package and all says is "success" install but the fuse pane still shows that I ...
2
votes
1answer
389 views

Finder shows different file size compared to terminal

I have a folder called 'objects' in my mac. When I check the contents of it in the terminal it's showing like this. Clearly object folder shows 4.1K However when I see it in the finder, It shows, ...
1
vote
0answers
96 views

Command line utility for browsing Apple's Photos.app database like a filesystem

Is there a command line utility to allow browsing and editing photos in the Apple's Photos.app database like you would browse a file system? The Photos app is really terrible when trying to perform ...
1
vote
1answer
40 views

Modify permissions of files created via SMB in a specific directory

I have a multifunction printer that has a SMB-capable scanning unit. I want to have the printer send scans to an SMB share on my iMac running macOS High Sierra (10.13). I do not want to store my main ...
2
votes
0answers
89 views

Encrypted disk in Windows 10, unreadable by macOS

I encrypted by external HDD with exFAT format using VeraCrypt on a windows machine. When I plug in the encrypted disk into MacBook (running macOS Mojave), I get the error "the disk you inserted was ...
1
vote
2answers
87 views

Can AppleScript search deeply for the largest file contained below a folder?

I need to make an AppleScript that would find the biggest file in selected directory (even if its inside another folder) and show full path on screen. This is what I have so far, but it doesn't work:...
2
votes
1answer
39 views

Determining unknown filesystems from OSX

Years ago I set up a Linux-based multimedia PC for my parents to store all their music and movies on, as that's the OS I use on my home computers and so if/when things went pear-shaped I'd be able to ...
2
votes
2answers
65 views

How do I know when my HD is under maintenance?

I work with several large movie files, almost all with 150+ GB. And sometimes I experience a harsh slow down on my iMac's speed which is accompanied by a writing/reading HD noise. So I'm pretty sure ...
1
vote
0answers
303 views

How do I fix hard disk “Error: -69845: File system verify or repair failed”

How can I resolve the Error: -69845: File system verify or repair failed error I'm getting when trying to verify my hard drive? So far these are the steps I've taken: In Terminal I ran: diskutil ...
1
vote
0answers
15 views

How to have two owners access the same files

I'm trying to give full access to two different users in the same directory. When I run Laravel via Apache, it uses the _www user. When I run Laravel via PHPUnit (on the command line), it uses my own ...
0
votes
1answer
689 views

Can't write to my FAT32 USB drive on Mac

I can't write to my USB on MacBook Pro. The USB was working well on both Windows and Mac until it stopped working on Mac suddenly (it's working well on Windows though). I reformatted it as FAT32 and ...
0
votes
0answers
10 views

TimeCapsule crashes repeatedly when deleting a “grayed out” file in a folder

I have a file on my TimeCapsule that apparently never finished being moved or copied to TimeCapsule. It is constantly grayed out. I can move it, but I can't rename it. I can move it, but I can't ...