LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2008, 08:37 PM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
mount help needed


I have two disks. Partition sda1 is '/' with CentOS on it (sda2=swap).

2nd disk (sdb1) has /dir1 /dir2 directories. I would like to mount them under /dir1,/dir2 in the main installation, instead of mounting the entire sdb1 under some /media/sdb1. How to make it happen at boot time?

TIA.

Last edited by concoran; 05-20-2008 at 08:38 PM.
 
Old 05-20-2008, 10:05 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Since you mount partitions, not directories, I don't think you can do this. You might be able to create another access point with mount --bind (there's some info in the man page), but I haven't tried this myself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to mount freebsd partition from Debian GNU.linux. foolagain Debian 2 09-10-2007 10:50 AM
Help needed regarding MOUNT sys. call in UNIX ankit4u1 Linux - Newbie 3 06-05-2006 10:36 AM
Help needed to setup(mount?) cdrom benwen Linux - Newbie 8 02-03-2005 11:13 AM
How to Mount cdrom in RH Pro Wkstation? Help needed! richiangpan9 Linux - Newbie 0 04-10-2004 05:18 PM
What process/module is needed to mount WinXP cbjhawks Linux - General 1 12-28-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration