![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mount point options | Sunguy222 | UNIX for Advanced & Expert Users | 1 | 04-24-2008 03:23 PM |
| ssh with shared mount point | devjxh | SUN Solaris | 4 | 11-30-2007 05:54 AM |
| auto mount point | legato | UNIX for Dummies Questions & Answers | 1 | 02-15-2005 01:11 PM |
| mount point | colesy | UNIX for Dummies Questions & Answers | 1 | 01-06-2004 04:03 AM |
| Recover mount point | here2learn | UNIX for Dummies Questions & Answers | 1 | 11-11-2003 11:33 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 Also, you can list what directories currently have things mounted on them with: Code:
df -h |
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
Quote:
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|