Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mounting a new directory

Status
Not open for further replies.

SelbyGlenn

Technical User
Oct 7, 2002
444
GB
Hi there,

I have two partitions with mount points:

/ = /dev/sda1
/local = /dev/sda3

The root is running low on space and I want to install an app into a directory called /RPC. I am trying to mount this directory using: mount -t ext3 /RPC /dev/sda3 but it returns the error: mount: /RPC is not a block device.
I want the /RPC directory to appear as if it is a directory off the root but to use the free space available on /dev/sda3. Is this possible?

Thanks in advance,

Glenn
BEng MCSE CCA
 
You said you already had /dev/sda3 mounted on /local, so just make /RPC a symlink to /local or a directory within.

//Daniel
 
You have the device and mount point switched.

mount -t /dev/sda /RPC

is what you should have.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top