concept of mount point


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers concept of mount point
# 1  
Old 06-07-2006
concept of mount point

Hi All

I Know it is a really basic and stupid question perhaps...But I am going bonkers..

I have following valid paths in my unix system:

1. /opt/cdedev/informatica/InfSrv/app/bin
2. /vikas/cdedev/app

Both refer to the same physical location. So if I created one file 'test' in first
path, when i cd to /vikas/cdedev/app and do a ls -ltr, i see the 'test' file

When I do a df -k . on 1 and 2 above, i get the same mount point which is as follows:

/vikas/cdedev/app

Now, I am perhaps taking a long shot, but the most logical reasoning I can give myself is mount point is nothign but actual physical location in hard drive whereas directories are logical pointers to mount points. So 1 and 2 above are logical pointers to the same physical location. In other words, they point to the same mount point.

I might be way off. In any case, can somebody throw some light on following:

a. concept of mount point as well as Unix file system?

b. Is it possible to see which directories refer to one particular mount point by some unix command?

Appreciate it much.
# 2  
Old 06-08-2006
Everything sprouts from a "root partition". When nothing's mounted but the root, it acts much like you'd think it would. Files are files, directories are directories.

Directories can be mount points. Mount a partition on a directory, and you see the contents of the partition. This lets you put partitions wherever you please, which is handy.

You can't mount the same partition twice, however! Could you post the output of:
Code:
ls -ld /opt/cdedev/informatica/InfSrv/app/bin /vikas/cdedev/app

I think one of them must be a symbolic link, sort of the file-equivalent of a hyperlink.

Also, you can list what directories currently have things mounted on them with:
Code:
df -h

# 3  
Old 06-08-2006
Thanks

Thanks for your reply

You were right

/opt/cdedev/informatica/InfSrv/app is a symbolic link to vikas/cdeddev/app.

I did not know that you could create soft links for directories as well. Thanks again for your reply.

Vikas
# 4  
Old 06-08-2006
Quote:
Originally Posted by Vikas Sood
I did not know that you could create soft links for directories as well. Thanks again for your reply.
No problem. There's no limit on what kind of files you can symlink because all a symlink contains, is a path. It'll even let you link to files that don't exist, though they'll fail to open when you use them, much like a webpage 404.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mount Point is locked

Hi there, I have a mount point that is locked. How do I unlocked it? (1 Reply)
Discussion started by: alvinoo
1 Replies

2. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies

3. AIX

How to change the mount point of LV?

I have situation where my disk upon reboot, has its mount point as # LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write VG STATE: active/complete LV STATE: closed/syncd TYPE: jfs2 WRITE VERIFY: off MAX LPs: 512 PP SIZE: 512... (1 Reply)
Discussion started by: mrmurdock
1 Replies

4. UNIX for Beginners Questions & Answers

Can we have 2 mount point under the same name but at different directory?

guys i would like to know can we have 2 mount point which is same name but on different directory? (3 Replies)
Discussion started by: leecopper
3 Replies

5. Red Hat

Regarding NFS mount point

Dear All, We have two different mount points in Linux NFS one is 15 TB and another one is 15 TB. Can we club both of the two mount points and club in to a single volume in Linux. As we need to restore Database in that single volume. Kindly help us on this. Regards , rj (10 Replies)
Discussion started by: jegaraman
10 Replies

6. Red Hat

NFS mount point

Hi, Can you tell me something about NFS mount point ? Regards, Maddy (3 Replies)
Discussion started by: Maddy123
3 Replies

7. AIX

Creating a new mount point

Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you. - David (7 Replies)
Discussion started by: dkranes
7 Replies

8. UNIX for Advanced & Expert Users

mount point lists

is there any command to know the list of mount points in a server.i need only the mount point lists.i tried using df but it was not helpful.i am using Solaris (1 Reply)
Discussion started by: dr46014
1 Replies

9. UNIX for Dummies Questions & Answers

mount point

hi people, I'm trying to create a mount point, but am having no sucess at all, with the following: mount -F ufs /dev/dsk/diskname /newdirectory but i keep getting - mount-point /newdirectory doesn't exist. What am i doing wrong/missing? Thanks Rc (1 Reply)
Discussion started by: colesy
1 Replies

10. UNIX for Advanced & Expert Users

mount point lost

hi , I was applying patches after that when i reboot i get these message. I did not do anything other thatn this. Now i am unable to start my oracle . Tell me how to solve this These are the error messages forceload of /drv/rdriver failed /drv/rdmexus failed ... (7 Replies)
Discussion started by: sathiya
7 Replies
Login or Register to Ask a Question