You are not logged in.

#1 2004-03-20 08:24:34

whol
Member
Registered: 2004-02-04
Posts: 155

How do I mount a drive in fstab? Weird drive names.

Umm, how would I create an entry in fstab to mount a drive partition in  AL?

I have 4 drives:
  hda = 80GB boot
     hda1 = 100MB boot
     hda2 = 1024MB swap
     hda3 = 75GB ext3 /
  hdb = dvd rom
  hdc = 160GB drive, 2 partitions
     hdc1 = 1024MB swap (unused)
     hdc2 = 159GB ext3 at /mnt/data1
  hdd = 160GB drive
     hdd1 = 160GB ext3 at /mnt/data2

In the fstab that AL created, there are entries with these normalish device names, but when I run mount, I get these superlong device names that I dont recognize - like "/dev/ide/bus0/lun0/part1" .

How would I map the above drives, actually I'm just trying to add /dev/hdc2 as /mnt/data1 and /dev/hdd1 as /mnt/data2?

Are these naming conventions some new linux standard, or AL's standard?

thx

Offline

#2 2004-03-20 09:47:19

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: How do I mount a drive in fstab? Weird drive names.

/dev/hda1 etc is linux kernel without devfs
ArchLinux uses devfs so the above becomes /dev/discs/disc0/part1

(hd0,0) = /dev/hda1 = /dev/discs/dics0/part1
(hd0,1) = /dev/hda2 = /dev/discs/disc0/part2
(hd0,4) = /dev/hda5 = /dev/discs/dics0/part5
(hd0,5) = /dev/hda6 = /dev/discs/dics0/part6

Offline

#3 2004-03-20 15:14:43

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: How do I mount a drive in fstab? Weird drive names.

Take a look at this topic it has some examples you can check out.
http://bbs.archlinux.org/viewtopic.php? … =fstab+art

Offline

#4 2004-03-20 17:16:55

whol
Member
Registered: 2004-02-04
Posts: 155

Re: How do I mount a drive in fstab? Weird drive names.

I was able to get the "devfs" style of my drive names from the output of "dmesg | less".

thx!

Offline

Board footer

Powered by FluxBB