Originally Posted by MONKEYJUDO
Can someone let me know how I would go about mounting a new secondary hard drive in a Centos 5 box? I have a primary already in the box and I think I need to create a new /dir and mount it to that but not sure. I know this is a noobie question.
First you would need a mount point, do this from the cli by;
~#mkdir /mnt/my_mount_point #create a dir within /mnt
Then you can mount the system;
~#mount -t ext3 /dev/sda1 /mnt/my_mount_point
The first command creates a directory within '/mnt' called 'my_mount_point'. The second mounts the ext3 filesystem on the /mnt/my_mount_point'. You can then perform with permission on the mounted filesystem. I have assumed that you are root to perform the above actions.
You could just as easily create '/home/username/mount_point' within your structure.
'man' is your friend and I suggest that you do use it. You could look online at 'LINUX MAN PAGES ONLINE
I would suggest that you look at 'Linux Newbie Admin Guide
These links and others are available from 'Slackware-Links
'. More than just SlackwareŽ links!