Visit Jeremy's Blog.
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 12-30-2005, 12:40 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
Mount hdb to /root/example ?!

I use slackware 10.1 and kinda needs to mount a HD to /root/example is it possible and how do i do it ??
Old 12-30-2005, 12:51 PM   #2
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
yes it's possible.
# mkdir /root/example

# mount -t <filesystem type> /dev/hdb1 /root/example
That should do it, are you certain you want it mounted on /root though? that will be a directory called root under /(or the root directory, similar to the C drive in windows)
Old 12-30-2005, 01:43 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Originally Posted by AmigaSpirit
I use slackware 10.1 and kinda needs to mount a HD to /root/example is it possible and how do i do it ??
KINDA needs???? Either you NEED TO or you don't.......

You can mount any drive at any point on the file system---more correctly at any **directory**.

Note a subtle point. If you mount to a directory that is not empty, you will hide what was there---thus new drives (partitions) are typically mounted to empty directories.

Look at the man pages for mkdir, mount, mtab, etc. If you want it to mount at bootup, you need an entry in fstab. Look at man fstab for the details)
Old 12-31-2005, 03:49 PM   #4
LQ Newbie
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0

Hey thx, i got it working.... :P now its time for next project :P


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
Can you tell me how to mount my hda1 on my Mandrake distro running in Hdb I can use rasgward Linux - Newbie 14 11-07-2004 10:28 PM
Hard Drive won't mount HDB 20GB Maxtor sovietpower Slackware 4 08-28-2004 12:14 AM
LILO on root hdb, is this possible? Mr Marmmalade Linux - Newbie 6 05-13-2004 04:40 AM
How to mount hdb to access old files birdiechase Linux - Hardware 3 04-12-2004 08:45 AM
failiure to mount NTFS volume, have hdb but not hdb1? nskn Linux - Software 0 04-02-2004 07:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 PM.

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