Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-20-2008, 08:37 PM   #1
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?


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

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.


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:35 AM.

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