LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-15-2004, 11:08 PM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Rep: Reputation: 32
Hard drive access


hello

How does one view how many hard drives on the system

6.8g - 4.3g - 4.3g - cdrom

I did a fresh install using tinysofa with 3 hard drives, the install went well

also i would like to know how to mount the drives for samba sharing

can any one help me oot please.

TT
 
Old 06-15-2004, 11:59 PM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
You could try something like
Code:
[mascdman@apollo mascdman][ :) ]$ ls -l /dev/hd*
lr-xr-xr-x    1 root     root           32 Jun  4 19:39 /dev/hde -> ide/host2/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde1 -> ide/host2/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde2 -> ide/host2/bus0/target0/lun0/part2
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde3 -> ide/host2/bus0/target0/lun0/part3
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde4 -> ide/host2/bus0/target0/lun0/part4
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde5 -> ide/host2/bus0/target0/lun0/part5
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde6 -> ide/host2/bus0/target0/lun0/part6
lr-xr-xr-x    1 root     root           32 Jun  4 19:39 /dev/hdf -> ide/host2/bus0/target1/lun0/disc
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf1 -> ide/host2/bus0/target1/lun0/part1
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf2 -> ide/host2/bus0/target1/lun0/part2
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf3 -> ide/host2/bus0/target1/lun0/part3
[mascdman@apollo mascdman][ :) ]$
This shows I have two hard drives with a lot of partitions. To mount one of the partitions, you can run (as root)
Code:
mount /dev/hde6 /mnt/music
You should then be able to export /mnt/music via Samba.

--mascdman
 
  


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 Drive Access numbersix Linux - Hardware 4 02-13-2005 03:30 AM
only access 13 gb out of 40 gb hard drive from rh 9.0 shobhit Linux - Hardware 2 08-14-2004 01:39 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
How Do I Access My New Hard Drive luv5speed Linux - General 11 02-17-2004 05:34 PM
Why does Redhat 8.0 access hard drive second by second? Cyclops Linux - Distributions 5 11-20-2002 07:34 PM

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

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