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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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 the Mac OS is HFS+

1
vote
1answer
53 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
12 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 (...
0
votes
1answer
14 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
29 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
23 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
25 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
54 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
20 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
28 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 ...
3
votes
1answer
124 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
69 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
50 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
22 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
20 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 ...
2
votes
0answers
70 views

Split a large folder containing many files into a set of smaller folders

This seems like a pretty common use case: I have a folder containing multiple files which I'd like to split into multiple folders, where each output folder is no bigger than a given size. In short,...
2
votes
2answers
1k views

Is it safe to remove /vm/swapfile0?

I found a file of size 1 GB in /vm/swapfile0, that has not been accessed in a long time, according to last access date value in ls -l. My assumption is, that this file is left over from an older ...
0
votes
0answers
16 views

Cannot access file's last 0x10000 bytes (returns “result too large”)

My setup is running 10.13.4 and my main mount is: "/dev/disk1s1 on / (apfs, local, journaled)" I'm working on a file scanner, which crashed when reading the following file /.Spotlight-V100/Store-V2/...
4
votes
1answer
86 views

Can I view hidden files and directories from the Open or Save As dialog boxes without making them visible in the Finder? [duplicate]

I know you can use Terminal to switch on/off hidden files in OS X and already use these commands. What I want to know is if it’s possible to just do this from WITHIN the Open or Save As dialog boxes ...
4
votes
2answers
89 views

Finder file size easy way

While showing items as icons (not in a list, in columns or wit cover flow). In order to know file size I right-click the file then select Get info then a window opens full of info and I have to look ...
0
votes
0answers
10 views

new partition of external drive fails with “couldn't open disk” [duplicate]

I'm trying to revive a friend's timemachine drive. It failed at some point in some way and went into read-only mode. It was difficult to unmount (had to reboot) but then got it erased. Now when I try ...
1
vote
0answers
52 views

How to create /dev/null in a jail-environment (chroot)?

In short: I am trying to install BIND9 on OSX inside a jail-environment (chroot) and failing to create a /dev/{null, random} file inside. Since Apple is slowly removing support for DNS, DHCP and more ...
0
votes
3answers
113 views

diskutil: correctly get total and available space on macOS

On macOS High Sierra, with SSD formate with APFS, i've got: diskutil info -all Device Identifier: disk0 Device Node: /dev/disk0 Whole: Yes Part ...
0
votes
0answers
15 views

How to delete time machine backups in trash. [duplicate]

I deleted several time machine backups to trash. I tried emptying trash and had over 1 million items and still deleting. I stopped deleting. Files are still in trash bin. How do I get rid of them ...
2
votes
1answer
53 views

iOS - Photos & message access to MDM installed apps

In iOS, is it possible for apps managed via MDM to get access to photos and text/WhatsApp text messages of user stored on user's iPhone. If yes, what kind of permissions do these actions require?
0
votes
0answers
118 views

APFS Container Corruption?

I'm not sure what happened, but suddenly my MacBook Pro MD103 stopped booting from internal Vertex 4 256GB SSD. It happened in December, probably before after one of these APFS updates. I've tried ...
1
vote
2answers
339 views

How to mount /dev/disk1 with write permissions from Recovery Mode?

Using Command + R at boot, I entered recovery mode but the /private/etc/ directory is Read-Only. Is it possible to unmount the disk then mount it again with write permissions? # sw_vers ProductName: ...
3
votes
1answer
553 views

How to tell if I'm using HFS+ or APFS?

Using diskutil, or other command line tools, how can I determine which filesystem I'm using? # sw_vers ProductName: Mac OS X ProductVersion: 10.8.5 BuildVersion: 12F45
0
votes
0answers
229 views

How to completely uninstall FUSE and ntfs-3g and reset the macOS native USB mounter as the default?

FUSE has not worked for me on macOS 10.13.4 on my MacBook Pro. I have installed osxfuse from home-brew and also installed ntfs-3g and exchanged the default driver with ntfs-3g (Driver which manages ...
1
vote
1answer
241 views

NTFS drive isn't writable even after installing Fuse

I have installed fuse using steps which are linked below in an article. Each and every step was successful but after mounting my WD external drive, still it was not writable. Everywhere I found same ...
3
votes
0answers
21 views

Mount HFS+ filesystem with disable read and write caches

I've got the HFS+ filesystem represented by .dmg image file. For security reasons I'd like to make sure every I/O applies directly to the .dmg file and not through any kind of memory in the middle. ...
3
votes
0answers
169 views

Why is `lsof` so slow on macOS 10.13 (High Sierra)?

This is related to this question, but I am on OSX 10.13.4. lsof takes about a minute to run, even with the -n option on. I can't even run dtruss to examine the system calls being made: $ sudo dtruss ...
1
vote
0answers
30 views

Automator Not Properly Filtering Files Modified Within Last 7 Days

I am trying to automate the process of backing up my development files weekly. I want to automatically back up the files, filter through all of the files, and delete the files that have not been ...
0
votes
0answers
39 views

Internal hard drive not showing

I just got an used Imac and try to create an fresh install. After some try's with deleting partition and install where i got an error that High sierra not could be install because of the APFS file ...
0
votes
0answers
18 views

Why is item locked after reboot?

I'm unable to open a RAW picture file anymore on my MacBook Pro, double click in finder does nothing, its thumbnail looks washed out, and if I right-click and Open with Photoshop explicitly I get the ...
0
votes
0answers
187 views

Filesystem for external hard disk that is cross-platform compatible [duplicate]

All my previous backup disks are either ext3, ext4, ntfs or fat32. I am having tremendous difficulty accessing my files easily from my mac (even with tools such as Tuxera). I did not expect an OS to ...
1
vote
0answers
20 views

How come I can move files from the icon in the title bar, but only in certain apps?

In the top chrome of some apps, there's an icon with the current file name (FYI: right-clicking on that icon will show the location on the disk). In some apps, if i drag this icon to a finder window, ...
3
votes
2answers
40 views

Are file permissions on macOS cryptographically enforced?

Are permissions set in the 'Get info' screen when right clicking on a file enforced cryptographically? If not, how are they enforced? Could anyone, for example, boot of a live OS on a USB stick and ...
5
votes
2answers
97 views

cannot associate csv file with excel

I have multiple versions of Microsoft Office installed because who knows when I'll have to open some old version of a file that may not work well in newest Office. I want csv files to open in the ...
1
vote
0answers
20 views

Mount remote file system without reboot

I have two Macs, A and B, on the same local network. I'd like to access a folder on B from A. I've used sshfs before, but this requires osxfuse which requires rebooting the machine. Is there any way ...
1
vote
0answers
19 views

How can I track down which process is modifying a file if lsof is not returning any output?

Somewhere in this process a file is being modified: git reset --hard touch server/routes/api/v1/handlers/foo.spec.js git status Result from last command: Changes not staged for commit: ... ...
1
vote
1answer
308 views

How to get my Mac (High Sierra) to recognize custom Quartz filters I created to reduce file size?

I want to create custom Quartz filters to reduce file sizes to custom specifications when exporting a PDF in Preview. I found a helpful article on how to do it with an old operating system. I found ...
1
vote
0answers
60 views

Adobe Creative Cloud “unable to locate /tmp system folder”

I'm trying to install Adobe Creative Cloud. Running the installer quickly yields a dialogue with the message: Unable to locate /tmp system folder. Please make sure the folder exists before ...
2
votes
0answers
38 views

Invalid file or folder characters - OneDrive

I'm looking for some help, I'm trying to help a user migrate from Dropbox to OneDrive, However, I've found that OneDrive doesn't support some of the file names that she has within Dropbox. Which are ...
1
vote
0answers
33 views

How to change the sorting priority for special characters in file names

In Finder.app, as per the default sort order, the files and folders whose name begin with an underscore character _ appear before the hidden files, i.e. ones whose name being with a dot .. I would ...
1
vote
1answer
46 views

`devfs` runs in fully capacity continuously

Run df and it reports from MacOS: Filesystem 1024-blocks Used Available Capacity iused ifree %iused Mounted on /dev/disk1s1 118284248 89296708 25200204 78% ...
1
vote
0answers
37 views

macOS equivalent of Linux's /etc/fstab configuration file [duplicate]

In Linux, there's a configuration file /etc/fstab that lists the file systems (typically hard disk partitions) that are to be mounted at boot time. macOS and Linux share the same UNIX linage. A file ...
0
votes
0answers
13 views

More About Filesystems [duplicate]

There's multiple tutorials videos and books introducing Linux filesystem, Such as: Are there similar diagrams or tutorials for MacOS?
1
vote
1answer
22 views

How to store home and applications folder on another drive

I am interested in setting up my home folder and /Applications in another hard drive like you can with Linux. Is there a way how to do this? I would also like to make sure that it won’t cause any ...
0
votes
0answers
32 views

File are set with inode id that contain offset of 0x200000000

My root filesystem is formatted to APFS and I'm working under macOS version High Sierra. For some reason, all my files are allocated with fileid that is added to offset of 0x200000000 For example, ...