LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   query (https://www.linuxquestions.org/questions/linux-newbie-8/query-730486/)

rajatgoel 06-03-2009 03:10 PM

query
 
how to mount harddisk

Uncle_Theodore 06-03-2009 03:14 PM

Quote:

Originally Posted by rajatgoel (Post 3562058)
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... :)

pixellany 06-03-2009 06:17 PM

Welcome to LQ!!

I'm really curious as to the context of this question---unless perhaps it is homework.

soleilarw 06-04-2009 08:28 AM

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

pixellany 06-04-2009 08:35 AM

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.

pixellany 06-04-2009 08:40 AM

Quote:

Originally Posted by soleilarw (Post 3562909)
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......


All times are GMT -5. The time now is 06:43 AM.