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 08-17-2004, 07:58 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
Can somebody create a nount point after Linux installation?


I have been searching the answer for a long time and it's negative, but i'd like to confirm it. However, if the answer is yes i'd like to know how can i do it?
I use Suse 9.1
 
Old 08-17-2004, 08:12 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
You mean create a mount point? Like for a second hard drive? The answer is of course yes.

mkdir /mnt/mountpoint

That's it! Now getting a device mounted to that mount point is done like this...

mount /dev/hdb1 /mnt/mountpoint
 
Old 08-17-2004, 08:14 AM   #3
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Rep: Reputation: 15
Hi,
of course you can.. you can do almost anything.. for example, when I bought USB flash disk, I simply made dir /mnt/usb and added it to /etc/fstab. Mount point is nothing more than directory. If you want to make new mount point, simply create directory and add entry to /etc/fstab (man fstab)
 
Old 08-17-2004, 08:15 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

Of course you can do it. For example, I want to mount my new slave hard drive (so it's seen as /dev/hdb1). So first I create a directory as a mount point:
Code:
mkdir -p /mnt/data
Then you need to know which type of partition, your disk use... and be sure that your running kernel support this type of FS. For example, I use vfat, so I'll type:
Code:
mount -t vfat /dev/hdb1 /mnt/data
and that's OK.
Then if you want Linux to do this operation each time it boots, you have to add your mount point into /etc/fstab file

Oliv'
 
Old 08-17-2004, 11:35 AM   #5
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Thanks i hadn't understood that a mount point is just a directory.
 
  


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
how to create an alias (apache) to point to a cd-rom/dvd verlossen Linux - Networking 1 11-20-2005 03:50 PM
create a linux installation smartentity Linux - Software 1 08-06-2005 06:22 AM
Drive imaging or Linux installation script to create clones? uk_dave Linux - Distributions 6 08-20-2004 10:21 AM
Create new partitions after LInux installation tprem Linux - Newbie 2 08-13-2003 08:19 PM
Is there a detailed point by point comparison on Linux to Windows? Paul Parr Linux - General 4 04-26-2003 02:35 AM

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

All times are GMT -5. The time now is 08:44 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