Skip to Content
Learning Unix for Mac OS X Panther
book

Learning Unix for Mac OS X Panther

by Dave Taylor, Brian Jepson
December 2003
Beginner to intermediate
192 pages
5h 7m
English
O'Reilly Media, Inc.
Content preview from Learning Unix for Mac OS X Panther

Exploring External Volumes

Earlier we mentioned that additional hard disks on your system and any network-based disks are all mounted onto the filesystem in the /Volumes directory. Let’s take a closer look to see how it works:

$ ls /Volumes
110GB           Extra 30        Panther         X
$ ls -l /Volumes
total 8
drwxrwxrwx  29 taylor  staff     986 22 Sep 16:37 110GB
drwxrwxrwx  11 taylor  unknown   374  4 Sep 23:28 Extra 30
lrwxr-xr-x   1 root    admin       1 23 Sep 12:30 Panther -> /
drwxrwxr-t  61 root    admin    2074 22 Sep 16:51 X

There are four disks available, one of which is actually the root (or boot) disk: Panther. Notice that the entry for Panther is different than the others, with the first character shown an l rather than a d. This means it’s a link (see Section 4.5.6 in Chapter 4), which is confirmed by the fact that it’s shown as Panther in the regular ls output, while the value of the alias is shown in the long listing (you can see that Panther actually points to /).

If you insert a CD or DVD into the system, it will also show up as a /Volumes entry:

$ ls -l /Volumes
total 12
drwxrwxrwx  29 taylor   staff     986 22 Sep 16:37 110GB
dr-xr-xr-x   4 unknown  nogroup   136 17 Aug  2001 CITIZEN_KANE
drwxrwxrwx  11 taylor   unknown   374  4 Sep 23:28 Extra 30
lrwxr-xr-x   1 root     admin       1 23 Sep 12:30 Panther -> /
drwxrwxr-t  61 root     admin    2074 22 Sep 16:51 X

Plugging in an iPod and a digital camera proceeds as follows:

$ ls -l /Volumes total 44 drwxrwxrwx 29 taylor staff 986 22 Sep 16:37 110GB dr-xr-xr-x 4 unknown nogroup 136 17 Aug 2001 CITIZEN_KANE ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Fuzzy Set and Its Extension

Fuzzy Set and Its Extension

Tamalika Chaira
How to coach with NLP

How to coach with NLP

Robbie Steinhouse
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian

Publisher Resources

ISBN: 0596006179