Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What are these files?

I recently ran DiskWarrior. It found over 300 files that were "unlinked". I took that to mean they were "alias" files. That was no big deal since I've been doing a bit of housecleaning.


The REAL mystery was where they were found.


They were in a hidden directory called 'sbin' which was located one level down on my system disk.


I fired up File Buddy and discovered a whole bunch of hidden files and directories in the same vicinity. They are ALL unix-style stuff such as 'var', 'usr', 'man', etc.


As far as I can recall, I've never loaded X onto this disk. So where did these files come from? Is it safe to toss them out?




Gary

G4, Mac OS 9.2.x

Posted on Apr 10, 2012 4:43 AM

Reply
8 replies

Apr 10, 2012 4:49 AM in response to Gary - former developer

sbin, and the others, are system-level binary file systems that you cannot remove without disabling your operating system. They are more than Unix-style file systems, the Darwin kernel, the base of the Mac OS X system, IS a Unix kernel. It is derived from FreeBSD, a Unix operating system.


There also parts of X-windows contained in the Mac OS X system, plus X11R6 is a windowing system that is optional under Mac OS X.


Removal of these files and file systems will not enhance your system.

Apr 10, 2012 4:59 AM in response to Gary - former developer

/sbin contains binary programs, mostly system administrative tools and utilities. Ordinarily, these will ONLY be available to user=root and no other users nor groups will have permission to run these or do anything with or to them. That's the thing that makes it different from /bin which may contain programs that can be run as regular users or software specific users. Since /sbin programs and code can only be used by root, it is not even included in any other users path since they have no need to use anything there, nor the permissions to do so anyway.


This is a bit dated now, but still basically applies - http://osxdaily.com/2007/03/30/mac-os-x-directory-structure-explained/


Keep in mind that at its core, OS X is a UNIX operating system.

What are these files?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.