Depending on what filesystem you are using and the position of the driver (master/slave, primary/secondary), depends on the commands used.
If you are using reiserfs with the drive as seconday/master:
mkdir /pub/shares - this make the mount point to mount the drive
fdisk /dev/hdc - then delete the FAT partition and create a Linux one, type m for help
mkreiserfs /dev/hdc - this formats the partition as reiser
mount /dev/hdc /pub/shares - this mount the drive in the /pub/shares directory
You will want to edit your /etc/fstab so that the drive is mount at boot time. Add this line you your /etc/fstab.
/dev/hdc /pub/shares reiserfs defaults 1 1
|