Mount related


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Mount related
# 1  
Old 11-13-2009
Java Mount related

I mounted /dev/sda1 to /mnt/drive_first folder...
so, how can get where the sda1 mounted programmingly
or vice versa

ThanxSmilie
# 2  
Old 11-13-2009
assuming, you are asking for a command to find where a partition is mounted, the command is mount.

Code:
$ mount
/dev/sda2 on /mnt type ext3 (rw,errors=remount-ro)

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

3. Shell Programming and Scripting

need downloading related help...but its not related to unix

Hi All, I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file See the below link- http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs- Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies

4. UNIX for Advanced & Expert Users

Virtualization Related Help!!

Hi, My script needs to find out if it is running on a virtual machine. If it is then it needs to find out. 1 . The number of virtual processors. 2 . Actual physical box onto which the virtual machine is hosted. 3 .Processors on the physical machine. Actually there are some commands like... (1 Reply)
Discussion started by: prasi_in
1 Replies

5. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

6. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

7. Fedora

How is OS X related to unix

Ok, I gotta ask this question, I have just begun fundamentals of UNIX in college and have learned or heard that Mac's OS-X is a linux based os! Does this mean that unix shell commands work in OS-X? I have no experience with os-x yet. I know it's a stupid question but I gotta know! (10 Replies)
Discussion started by: boarder428
10 Replies

8. Shell Programming and Scripting

count related..

is it possible to count the no of line in a zip file with out un compress the zip file.. (3 Replies)
Discussion started by: alexMar
3 Replies

9. UNIX for Advanced & Expert Users

x windows related

Hello, I am learning X/Motif programming.I wanted some information about how to create animations using this. can you please suggest me some website which contains this information?? I did not know where to post this thread.So I just posted it here. Thanks in advance. shilpa (1 Reply)
Discussion started by: informshilpa
1 Replies

10. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies
Login or Register to Ask a Question