Macs suck: file paths

I am starting on a new series I call “Macs suck”. Case in point: file paths.

OS X is a UNIX system (BSD in fact). Paths are thus in the form /directory/subdirectory/file. But OS X presents paths in a convulated form: Drive/directory/subdirectory/file. Notice the problem? Programs which expect form A, when given a path in form B, get totally confused since that path isn’t valid!

Technorati Tags:

2 Responses to “Macs suck: file paths”

  1. George Says:

    Here, let me explain it to you because you clearly lack the intelligence to grasp it.

    In the GUI, disks are presented for the user. In the Unix shell, all the drives but the boot drive are located at /Volumes/

    Even a tard like you should be able to grasp that.

  2. Justin Haygood Says:

    Well, that works fine. The problem is the “Browse” API for returns paths in the format:

    Macintosh HD/Users/jhaygood/Desktop/myfile.fla

    When it should be in the format:

    /Volumes/Macintosh HD/Users/jhaygood/Desktop/myfile.fla (or even):
    /Users/jhaygood/Desktop/myfile.fla

    The application I develop at work used a work around by appending /Volumes/ in front of the drive name

Leave a Reply