Print
Parent Category: Tutorials
Hits: 4229

 

You first need to get the ntfs-3g driver for slackware 12.x

(http://www2.linuxpackages.net/packag...-i486-1McD.tgz)

then you need to add you windows drive to your /etc/fstab file

add the following line:


Code:
/dev/hdx /C ntfs-3g rw,user 1 2

replace 'x' with the actual letter of your windows drive

/C is the mount point

ntfs-3g is the fs type

rw,user are the options 
--rw means mount as read-write
--user means any user can unmount/mount the drive

1 2 are for fsck, the file system checking tool
--if you don't want your drive checked for errors every time you boot, then change it to 0 0

any of these option can be changed to you preference (except the fs type, that is a constant).

 

Here you have an example of /etc/fstab from my laptop:

root@Hercule:~# cat /etc/fstab
/dev/sda2 swap swap defaults 0 0
/dev/sda1 / ext3 defaults 1 1
/dev/sda3 /C ntfs-3g rw,user 1 2
/dev/sda4 /D ext3 defaults 1 1
/dev/sdb1 /mnt/usbflash vfat defaults 1 0
/dev/sdc1 /mnt/usbflash vfat defaults 1 0
/dev/sdd1 /mnt/usbflash vfat defaults 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
root@Hercule:~#

Good-luck!

Note:

We use Hosting and VPS Hosting, from: www.star-host.org

We like and trust them.

Good prices, high security.