I just finished installing Gentoo on some free space I had on my primary HD. The second HD is all NTFS data, and primary partion of the primary drive is NTFS. Both of these I wish to mount read only into my limux box. Here is my fstab:
Code: Select all
rogue ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext2 defaults,noatime 1 2
/dev/hda4 / ext3 defaults,noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/dvd1 /mnt/dvd auto noauto,ro,users 0 0
/dev/dvdrw /mnt/dvdrw auto noauto,users 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
/dev/hdb1 /XP_DATA ntfs defaults,ro,noatime 0 0
/dev/hda1 /XP_SYSTEM ntfs defaults,ro,noatime 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
#iPod entries
/dev/ipod /media/ipod vfat async,nodev,nosuid,users,rw,noauto 0 0
Thanks!




