LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount help needed (https://www.linuxquestions.org/questions/linux-newbie-8/mount-help-needed-643638/)

concoran 05-20-2008 08:37 PM

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.

gilead 05-20-2008 10:05 PM

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.


All times are GMT -5. The time now is 04:44 PM.