Метки

, ,

Несколько работающих fstab с монтированием ReiserFS, ext3 и NTFS. Для последнего в ядре стоит включить NTFS и ntfs read/write в ветке File systems и File systems -> DOS/FAT/NT Filesystems.

# /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/sda1		none		swap		sw		0 1
/dev/sda2		/		reiserfs	noatime,notail	0 1
/dev/sda5		/home		ext3		noatime		0 0
/dev/sda6		/media/Files	ext3		noatime		0 0
/dev/sda4		/media/Win	ntfs-3g		silent,umask=0,locale=uk_UA.utf8	0 0
#/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		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)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0

# /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/BOOT		/boot		ext2		noauto,noatime	1 2
/dev/sda1		/		reiserfs	noatime		0 1
/dev/sdb1		none		swap		sw		0 0
/dev/sda2		/media/Add	ext3		noatime		0 0
/dev/sda5		/home		ext3		noatime		0 0
/dev/sda6		/media/From	ext3		noatime		0 0
/dev/sda7		/media/Different	ext3		noatime		0 0

/dev/sdb5		/media/Large	ext3		noatime		0 0
/dev/sdb6		/media/Library	ext3		noatime		0 0
/dev/sdb7		/media/Crypt	ext3		noatime		0 0

/dev/sdc2		/media/WinC	ntfs-3g		silent,umask=0,locale=uk_UA.utf8	0 0
/dev/sdc3		/media/WinD	ntfs-3g		silent,umask=0,locale=uk_UA.utf8	0 0
/dev/sdc5		/media/SDC5	ext3		noatime		0 0
/dev/sdc6		/media/SDC6	ext3		noatime		0 0

#/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		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)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0

Реклама