LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2009, 04:10 PM   #1
rajatgoel
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Post query


how to mount harddisk
 
Old 06-03-2009, 04:14 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by rajatgoel View Post
how to mount harddisk
fdisk -l

will tell you what partitions are available for mounting, then

mount /dev/XXX /mnt/hd

should do the trick. /dev/XXX is the partition name, like /dev/sda1 and such. Unless you provide more information on what you're attempting to do, I'm afraid, there's nothing else to say...
 
Old 06-03-2009, 07:17 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Welcome to LQ!!

I'm really curious as to the context of this question---unless perhaps it is homework.
 
Old 06-04-2009, 09:28 AM   #4
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
mount -t ext3 /dev/sda2 /mnt
where ext3 is the filesystem (could be something else), /dev/sda2 is the device (could be something else) and /mnt is the directory to be used as the mountpoint (could be something else).
I actually doubt this is homework - if homework is getting that easy, then the world is doomed :-)

Linux Archive

Last edited by soleilarw; 06-18-2009 at 05:29 AM.
 
Old 06-04-2009, 09:35 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
In my experience, this absolutely fits a very common "homework" pattern:
One post only
No context
No follow-up


Quote:
mount -t ext3 /dev/sda2 /mnt
I know you meant this to be generic, but you would never want to literally mount a device to /mnt. This would hide anything that was mounted to a directory inside /mnt

So, the generalized notation could be "/mnt/<mountpoint>" The "<...>" is the common notation for a placeholder--ie something to be replaced with the real value in the user's situation.
 
Old 06-04-2009, 09:40 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by soleilarw View Post
I actually doubt this is homework - if homework is getting that easy, then the world is doomed :-)
Unfortunately, you may be right.......but not because homework is getting too easy. Rather, I think that students are getting lazy and less principled. Probably the most generic "root cause" is a world becoming increasingly diverse, complex, diffuse, and just plain confused......
 
  


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
query mbg_gayed Linux - Software 5 02-04-2009 08:19 PM
interesting MySQL query/view query :s mjh Programming 3 03-25-2008 08:30 AM
mysql use output of one query in another query secretlydead Programming 2 11-19-2007 02:25 AM
help with mysql query: return nth rows in query hawarden Programming 2 07-31-2006 07:36 PM
query saurabhparihar Linux - Newbie 2 05-21-2005 03:00 PM


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