LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hard drive access (https://www.linuxquestions.org/questions/linux-newbie-8/hard-drive-access-194016/)

tommytomato 06-15-2004 11:08 PM

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

mascdman 06-15-2004 11:59 PM

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


All times are GMT -5. The time now is 04:23 AM.