Stack Exchange Network

Stack Exchange network consists of 174 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).

2
votes
1answer
29 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
1answer
52 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
40 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
12 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
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 ...
0
votes
0answers
12 views

Collecting statistics on files in a folder: how often is each file opened?

I store academic papers as pdfs in a folder on my mac running MacOS Mojave. I want to count the times I open each pdf file, and gather this statistic over time. A simple csv list with the date each ...
2
votes
0answers
34 views

How do you save files locally to a Mac while having iCloud backup enabled?

I'm attempting to clean up a iCloud account a little bit; it's on the free tier and it's full of photos. I assumed I could copy-paste the photos on the Macbook from the synced iCloud directory to a ...
1
vote
0answers
11 views

Change a booting volume's file system to case-sensitive (from case-insensitive) without re-formatting, backing up and restoring

I am currently booting my macOS 10.13 on a case-insensitive APFS-formatted SSD. Is it possible to change this to case-sensitive without re-formatting the SSD (hence avoid the hassle of backing up the ...
1
vote
1answer
16 views

Read a Linux Disk in MacOS?

I have a two-disk NAS in RAID 1 that's not cooperating. I tried taking one of the disks out and plugging it into my iMac via a USB enclosure to copy the files off of it, but MacOS can't read the disk. ...
0
votes
1answer
16 views

Export files in alphabetical sequence from Mac Photos app

I have a Sony TV which has a Media player for displaying photos and videos. I want to play a slideshow of my pics from the Photos App on my Mac by exporting them on a USB stick which I can plug into ...
0
votes
0answers
13 views

Where to install binaries [duplicate]

I am a Linux User and want to port my C++ project to macOS. On Linux I basicly install binaries to /usr/bin or /usr/local/bin. Someone told me that macOS blocks changing these directories. Where ...
1
vote
1answer
87 views

How does macOS implement symbolic link in Mojave on FAT32 filesystems?

I remember in the past, not all types of aliases (as in the macOS feature) can be created on all filesystems. This is because symbolic link (as in the type of file) is a special Unix file type, ...
1
vote
0answers
19 views

How To Stop macOS From Generating File Icons On The Fly Based On The Filetype

This is a really petty complaint, but in macOS, a file will assume the icon set for it by the default application set to open that file, but on my Mac certain file types, the icon seems to be ...
0
votes
1answer
17 views

how to search files modified between a specific time in a date

In mac os, how can I search the files modified or used within a specified timespan on a date? For example i want to get the files used between 10am to 4pm on 10/30/2018. Can this be done either via ...
1
vote
1answer
18 views

Edit text file in a folder owned by a different user on macOS? I have system admin password

How can I access and edit a text file found in a folder owned by another user? I am in the original user account setup for this macOS Mojave installation, and have the system admin password. So I ...
1
vote
0answers
67 views

MacOS Mojave hangs creating file

Since I've updated my MacBook Pro to macOS Mojave (18A391), all the apps that feature file creation (Example: Xcode, VSCode, TextEdit, etc) are hanging for at least 20 seconds on the spinning wait ...
1
vote
1answer
21 views

Is it possible to roll back to the last saved version of a file in mojave?

I am not sure if I read that APFS functionality correctly but I have read that Mojave stores a kind of file time machine and that I could browse previous versions of files on the filesystem. I was ...
1
vote
1answer
23 views

Is it possible to make a folder look and behave like a file?

I'm developing a desktop application which saves its projects to disk. Projects contain multiple files, like json and jpg etc. Current solution: zipped file I'm "zipping" them all together into a ...
0
votes
2answers
119 views

Location of the root's home directory in macOS

All Unix-like operating systems I've seen use /root as the home directory for the root account. What's the reason it was moved to /var/root in macOS? Can I change it to the usual /root? I need to run ...
0
votes
0answers
18 views

Spotlight is disabled but “._file_name” still get created on external drives that I plug in [duplicate]

I want to prevent my MAC from creating ._file_name files on external memory drives that I plug into it. I think I've turned off Spotlight completely. However, such files keep getting created. How to ...
3
votes
1answer
193 views

Terminal command to remove custom icon from file (HFS+)

Context In Mac OS X / macOS you can select a file in the Finder, click Informations then click the icon, and paste any image/icon that is in the clipboard. Now this file has a custom icon made of ...
2
votes
0answers
313 views

Can't Install Mojave because of file system error: Object map is invalid

I wanted to upgrade macOS High Sierra to Mojave but installation failed with this error: File system verify or repair failed. Using Recovery Mode I tried First Aid from Disk Utility and it failed ...
1
vote
1answer
225 views

Access to ~/Library/Containers/com.apple.mail/Data/ denied

Since installing Mojave, I can no longer access ~/Library/Containers/com.apple.mail/Data/: pse@Mithos:~$ ll ~/Library/Containers/com.apple.mail/Data/ ls: DataVaults: Operation not permitted I've ...
1
vote
0answers
752 views

How can I get an NTFS partition to mount in macOS Mojave?

I have a external HDD with four different partitions on it. 3 out of 4 of them work flawlessly. Two partitions are running the macOS Extended filesystem, one is running good old fat32, with the last ...
1
vote
0answers
19 views

Recovering a deleted file on MacOS

There is an old Unix trick for attempting to recover a deleted file where you run $ sudo grep -C100 string-known-to-be-in-file /dev/sda1 which takes a very long time, but can at least recover a ...
1
vote
0answers
22 views

Mount two disks/directories into a single point

I want to mount two disks or directories into a single mount point. I saw some article online which mentioned bindfs, I had a look at it but I don't understand how it can help. Another article shows ...
0
votes
1answer
51 views

How to manage permissions of files owned by user “_unknown” in Mac OS 10.13.4?

I've got permissions problems with files on my MacOS 10.13.4 desktop. When I try to correct the problems by hand, I see a curious issue: Matt$ sudo chown Matt:Engineers TestFile chown: TestFile: ...
4
votes
1answer
86 views

How do I get the path to a DMG (disk image) file given the mounted volume path?

I tried hdiutil info -plist, but if I shift the DMG file elsewhere after mounting it, it doesn't update the DMG path. If I right click and select 'Get info' on the volume, I'm able to view the correct ...
0
votes
1answer
34 views

How to get the Disk Image property using terminal?

Let's say I have the volume path. Normally I can right-click and 'Get info' to get its Disk image. I want to replicate the same on terminal (basically need to code it in objective C) mdls doesn't seem ...
2
votes
3answers
300 views

Mac Pro 5.1 Windows 10 boot problems

I'm trying to run Win 10 on a separated drive attached to sata optical drive bay. I ran into some issues about GPT partition over instalation processes which I could solve it by terminal commands. It ...
0
votes
1answer
27 views

Why is macOS forcibly renaming my USB drive?

I have a USB Drive named "Cuthbert", and various apps use paths starting with /Volumes/Cuthbert when it is plugged in. However, my laptop is putting it at /Volumes/Cuthbert 1, and won't let me rename ...
0
votes
0answers
72 views

Mac File System Tagging questions regarding external USB drive, SMB shares and indexing

(1) I googled mac tagging. I know the tagging was stored in HFS+ file system's extended attribute. But when I create tags in SMB shares (which are ext4 and ntfs on the network), I find out the tags ...
0
votes
1answer
37 views

Which filesystems support symbolic links?

I'm copying a big archive of files from a Linux host to an external USB hard drive, that will then plug into a macOS host. The copy should preserve the archive's many symbolic links (ln -s). What ...
1
vote
1answer
88 views

Why is there no difference between 2 differently capitalized folders?

I have an empty directory called "foo". I try to create a new directory called "Foo". But I cannot create it: ***@###:~/test$ mkdir foo ***@###:~/test$ ls foo ***@###:~/test$ mkdir Foo mkdir: Foo: ...
1
vote
1answer
14 views

Get Size of Folder Containing Hardlinks (like Time Machine Backups)

I'm using an rsync script to make incremental backups of a specific folder, in very much the same way Time Machine does. I'm very interested to know how large my backup destination folder is. However ...
1
vote
1answer
60 views

Deleting the ._* files from a mounted volume kinda screwed some things up

I have a thumb drive that I use frequently, which results in a lot of the ._* files being created, which I periodically delete by executing something like find /Volumes/Secure -name '._*' -exec rm -vf ...
0
votes
0answers
21 views

Is there anyway to make a block device read-only?

I am NOT talking about mounting a filesystem read-only. On Linux, I can make a block device read-only and when I do that not even filesystem modifications that would occur if I partition read-only (...
1
vote
1answer
61 views

change /etc/localtime to UTC time?

I noticed it is common for programming languages to utilize /etc/localtime when determining the current time to display for a user. In particular, I know that Ruby relies on /etc/localtime if the "TZ" ...
2
votes
2answers
36 views

How to check if file is in use?

I have c++ application and I need to know if one file is in use by anyone. I'm ok with running any shell command, but I don't want to run lsof command for this purpose, since I think I can't safely ...
0
votes
1answer
112 views

Cron mail notifies error of suspicious unknown script

Thanks to the mail function of the Terminal it came to my attention that there was some kind of cron job being executed with some errors. The mail of the cron gives this info: 2018-08-02 23:47:22....
1
vote
1answer
40 views

How to get rid of “The disk you inserted was not readable” and auto ignore it? (without installing apps)

whenever I plug in an ext4 partition type external USB drive, this message will pop up. and then I need to press "Ignore" to ignore it. This is very annoying. How can I auto ignore it? I did google ...
1
vote
2answers
58 views

locate is not finding a zip file that exists

The com.apple.locate.plist daemon is running, and I've updated the database using sudo /usr/libexec/locate.update, but the locate command is still not finding a .zip named OldPhoneCamera.zip in /Users/...
0
votes
0answers
29 views

How to know what is causing high CPU?

Here is the problem. Pages is causing me a High CPU but one of two things may be causing it: Pages is using memory, computing something or moving/searching stuff on memory. Pages is using the disk. ...
1
vote
1answer
32 views

Using hard disk after a S.M.A.R.T. error

Good day everyone. I had an hard drive and start giving a S.M.A.R.T error and I've immediately replaced it. Now if I try to format it in exFAT, all goes right, (also checkdisk). Here is the result ...
4
votes
1answer
189 views

Paste path from clipboard in file dialog

I have a full absolute file path on my clipboard (ie: /Users/Noit/Pictures/Screenshot - Jul 9, 2018 3.27 PM.png) I then go to say Skype or gmail in my web borwser, and click "attach". This opens a ...
2
votes
2answers
90 views

What's a good setup to back up macOS data and restore to Linux?

Background I have an old MBP which works fine right now. I have no immediate plans to change it. But it is getting old, the discrete GPU died, and I expect it could die at any time. I would like ...
1
vote
1answer
151 views

Why is “tomorrow” displayed as the “Date Modified”?

This is a bizarre situation-on my MacBook Pro (2017, High Sierra 10.13.5), when I opened a folder on the Finder, the Date Modified column for the files in a folder displays "Tomorrow at 2:34AM" and ...
2
votes
0answers
27 views

How to ensure that you retrieve all permission attributes (including ACLs) of a file or folder from the shell?

I would like to retrieve ALL permissions (including ACLs) and attributes of files and folders (both) from a folder and its accompanying files on a drive. Most frequently one sees ls -le being used to ...
2
votes
1answer
23 views

Tracing real-time filesystem calls by process?

I suspect my backupd is performing a full filesystem scan. I can't tell because I don't know how to use Activity Monitor (or something else) to see what directories and files backupd is reading or ...
1
vote
0answers
13 views

Large file download behavour

One of my users started a download of a very large (1.2 TB) file using Firefox onto his mac (High Sierra) which had 400 GB free. Firefox did warn that the file was more than the available disk space ...