LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 09:37 PM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 472

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 09:38 PM.
 
Old 05-20-2008, 11:05 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:50 AM
Help needed regarding MOUNT sys. call in UNIX ankit4u1 Linux - Newbie 3 06-05-2006 11:36 AM
Help needed to setup(mount?) cdrom benwen Linux - Newbie 8 02-03-2005 12:13 PM
How to Mount cdrom in RH Pro Wkstation? Help needed! richiangpan9 Linux - Newbie 0 04-10-2004 06:18 PM
What process/module is needed to mount WinXP cbjhawks Linux - General 1 12-28-2003 08:33 AM


All times are GMT -5. The time now is 05:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration