Skip navigation
This discussion is archived

Searching my Xserve, I find empty files like OfficSanBol, OfficSanBoo…

11958 Views 3 Replies Latest reply: Nov 20, 2010 11:27 AM by Alex Geis RSS
Alex Geis Level 2 Level 2 (460 points)
Currently Being Moderated
Nov 20, 2010 11:26 AM
I have a bunch of files... here's what happenes when I:

xserve2:/Users/rcox/Fonts/Officina root# du -d 1 -h *
36K OfficSanBol
36K OfficSanBolIta
32K OfficSanBoo
36K OfficSanBooIta
36K OfficSerBol
40K OfficSerBolIta
36K OfficSerBoo
36K OfficSerBooIta
96K Officina Screen

xserve2:/Users/rcox/Fonts/Officina root# ls -l *
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSanBol
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSanBolIta
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSanBoo
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSanBooIta
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSerBol
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSerBolIta
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSerBoo
-rwxrwxrwx + 1 rcox www 0 Oct 1 1999 OfficSerBooIta
-rwxrwxrwx + 1 rcox www 0 Apr 12 2000 Officina Screen

du tells me the folder and the files do take up space
when i cat one, it's empty
copying to a new drive shows the same thing

any ideas?
(2) dual 2.5 g5, Mac OS X (10.4.2)
  • Roger Smith3 Level 6 Level 6 (13,475 points)
    Those look to be font files. Font files, unles they're otf, are all resource fork and 0 data fork. Check them out with Finder, and they'll probably look okay. It's nothing to worry about.

    Roger
    XServer, Mac OS X (10.4.3), XRAID, Xasperated
  • Camelot Level 8 Level 8 (45,670 points)
    Mac files historically had two 'forks' - a data fork and a resource fork.
    The resource fork was like a structured database of standard data, whereas the data fork was more free-form.

    'cat' and 'ls' only look at the data fork of a file, not the resource fork. If the files in question have a resource fork that would explain why 'ls' shows them as zero bytes - the data fork is empty, even though there is some file size associated with the resource fork.

    Most modern applications eschew the resource fork since it's a proprietary Macintosh feature that isn't supported on most other operating systems, making it hard to migrate between systems.

    Edit: I think Roger's right that they're fonts which, historically, were resource files.
    Mac OS X (10.4.8)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.