[CLUE-Tech] fstab, directories, and 2 Hard drives on one system
Kevin Cullis
kevincu at orci.com
Sat Jan 12 13:28:40 MST 2002
Hi all,
I'm finally getting to work on a second HD on my Linux system. I've got
Linux seeing the second hard drive and have partitioned it and this is
my fstab:
------
/dev/hda2 swap swap defaults 0
0
/dev/hda3 / ext2 defaults 1
1
/dev/hda1 /boot ext2 defaults 1
2
/dev/hdb1 /data2 ext2 defaults 1
2
proc /proc proc defaults 0
0
# End of YaST-generated fstab lines
# /dev/hdb1 /data1 auto noauto,user 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
devpts /dev/pts devpts defaults 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
------
However, when I view my root directory, I see this:
bin cdrom data2 etc home lost+found mnt proc sbin swap
usr
boot data1 dev floppy lib media opt root share tmp
var
Question: When I repartition my HD and I "rename" the second HD as
/data2/ it keeps the first directory (nothing is in each discussed
directory) I can rmdir the "first" directory without any problem, right?
(I commented out the /dev/hdb1 /data1 so that I wouldn't delete
anything)
Question: Does SuSe using YAST create a new partition and then write to
fstab.
Question: Are there predependencies that I should be aware of?
Does anyone have any suggestions as to how I could best utilize 2 HD on
my system?
Thanks
Kevin
More information about the clue-tech
mailing list