Macintosh Mount Clarification

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Macintosh Mount Clarification
# 1  
Old 02-16-2011
Macintosh Mount Clarification

Hi All,

I am having a clarification regarding the mounted file systems on a normal mac.

This is the output displayed once i launch terminal and key in mount
command.
**************************************************
Code:
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/Mac2 (hfs, local, journaled)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)

**************************************************
Here the Red ones show the file system and the blue one shows the mount points.
As per my understanding if i am in a mount point , i should be able to see the file system.
Say
pwd is root
/
then i am able to do "cd /dev/disk0s2"
ie i am able to see the file system /dev/disk0s2 from /
But if i am in the mount point
/Volumes/Mac2
then i am unable to see any file system
/dev/disk0s3

Is there anything different here?

Cheers
Achilles

Last edited by pludi; 02-16-2011 at 03:55 AM..
# 2  
Old 02-27-2011
/dev/disk[whatever] are device files -- files the kernel uses to access the physical device. This physical device is then mounted to a filesystem that you can use.

You can't
Code:
 cd /dev/disk0s2

because it's a device file.

Think of it a gateway to the hardware.

devfs, as I understand it, is a true device driver. It makes the /dev entries that the kernel uses.

The "map" entries are used by the automounter.

Everything looks normal.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

macintosh

hello, i am new to this forum. i own a macbook pro running mac os x 10.5.2 leopard. just wondering, if these forums will help me? i work a lot in an application called terminal, it is apples command line. i like programming and have questions, like there was a post about text scrolling, the... (2 Replies)
Discussion started by: jamesapp
2 Replies

2. Shell Programming and Scripting

UNIX in the MacIntosh (for sed people)

Hi, I'm trying to use sed to process some files on Macs running OSX. Anyone know anything about Macs and sed? Here's the problem sed 's/^/ /g' test_file > endfile (there are spaces betwen the second and third /, but the forum software compresses them) This should put spaces at... (3 Replies)
Discussion started by: Laurel Maury
3 Replies

3. UNIX for Dummies Questions & Answers

IP Address History for Macintosh

Hi all, I have been assigned the following task; I have a Macintosh iBook laptop computer running OSX (10.3). This computer was used to download some unwanted content from the Internet. We know by looking at the browser history that these downloads took place between May 1 and May 3. What... (0 Replies)
Discussion started by: olifer
0 Replies

4. UNIX for Dummies Questions & Answers

Macintosh user needs help with pop3d

Hi folks! I am not a power user, and have been able to enable Postfix to run on my Macintosh. It was a little bit difficult for me. But I payed good attention, while following an Internet Tutorial. Postfix version 2.1.5 I can send out emails, from local accounts or even from other... (0 Replies)
Discussion started by: fundidor
0 Replies

5. UNIX for Advanced & Expert Users

Is Unix a Network operating system for Macintosh computers

I am in the process of reading up on and learning about linux,and as i read, i am seeing that it was built off of the unix system platform,and i also believe that it is used in the mac computer field,i would like to know if this is true, and if i should learn about the macintosh computer... (2 Replies)
Discussion started by: Bill1263
2 Replies

6. Shell Programming and Scripting

Game spy arcade for halo and macintosh?

I need help i heard you can play halo over online and you have a macintosh version where can I get it please respond (1 Reply)
Discussion started by: memattmyself
1 Replies

7. Where do I download LINUX & UNIX?

Unix for Macintosh

Hi all, I'm a Mac-user (imac se at the moment), using Mac OS 9.1 I really want to learn how to work with unix-systems. What is the best place for me to start? Where can i download a system? Can i still use my imac as a software basestation for an ibook running OS 9.1? It seems like i... (9 Replies)
Discussion started by: Icarus
9 Replies
Login or Register to Ask a Question