[Sussex] fstab and mounting partitions ??

John D. big-john at dsl.pipex.com
Thu Nov 11 09:48:39 UTC 2004


Ha, Ha!

Probably another inane question.

I think that I should make sure which partition I'm actually logged
into, as previously I've lost all my settings that I thought I'd got in
my /home partition (this would be between all the various changes I've
been making/learning about recently).

Plus, in the same way that mandrake auto mounted my windows partition,
I'd like to be able to do that as well (mainly to get the bloody windows
fonts copied across + a few other bits).

So, that being the case,

(a) Should there be an entry for my /home partition in my /etc/fstab?

and 

(b) Should there be an entry for my windows partition in that very same
/etc/fstab ?

Which currently looks like this


# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
2003/10/13 20:03:38 azarah Exp $
#
# 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 and tail freely.

# <fs>          	<mountpoint>    <type>  	<opts>      		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to
opts.
/dev/hda2		/boot		ext3		noauto,noatime		1 2
/dev/hda5		/		reiserfs	noatime			0 1
/dev/SWAP		none		swap		sw			0 0
/dev/cdroms/cdrom0	/mnt/cdrom	iso9660		noauto,ro,user		0 0
#/dev/fd0		/mnt/floppy	auto		noauto			0 0

# NOTE: The next line is critical for boot!
none			/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)
# Adding the following line to /etc/fstab should take care of this:

none			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0



regards

John D.





More information about the Sussex mailing list