LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2007, 03:43 AM   #1
iandroul
Member
 
Registered: Feb 2007
Posts: 32

Rep: Reputation: 15
Cool access usb hard disk through commands


Hi

I have Fedora 6 and a western digital usb hard disk 500GB. I can mount the hard disk but the problem is when I work in command line I can not see anywhere the disk. Does anyone knows how I can access the hard disk through the command line environment, because through the grafical x environment I am not facing any problems.

Thanx
 
Old 10-05-2007, 10:34 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
First you can check where it is.

# /sbin/fdisk -l
you'll find a list of all drives/partitions that you have.

let's say it'll be for example /dev/sda1

you can create a new directory (e.g. westerndigital) in your home directory and:

# mount -t ext3 /dev/sda1 /path/to/your/westerndigital

If it is a windows fat partition you need to replace 'ext3' with 'vfat'. It'll be mounted under westerndigital and can be accessed there. To make it permanent, you need to add an entry in the file /etc/fstab

regards

Last edited by sycamorex; 10-05-2007 at 10:36 AM.
 
  


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
Hard Disk Access William Reading Linux - General 8 10-31-2006 03:23 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
apache can not access my usb hard disk diffraction Linux - General 5 11-14-2005 02:28 AM
how to access to second hard disk ? medya General 6 10-27-2005 12:45 AM
Segmentation Faults in Slack 10.0 on disk access commands meisjohn Slackware 5 03-08-2005 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:04 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
Open Source Consulting | Domain Registration