Jump to content

automatic partition mounting


ilia_kr
 Share

Recommended Posts

Dunno which is the use of seeing other fstab entries, but here's mine:

 

#

# /etc/fstab: static file system information

#

# <file system> <dir> <type> <options> <dump> <pass>

none /dev/pts devpts defaults 0 0

none /dev/shm tmpfs defaults 0 0

 

/dev/dvd /mnt/dvd auto ro,user,noauto,unhide 0 0

 

/dev/sda3 swap swap defaults 0 0

/dev/sda5 / reiserfs defaults 0 0

/dev/sda1 /boot ext2 defaults 0 1

/dev/sda6 /home reiserfs defaults 0 0

/dev/sda7 /data reiserfs defaults 0 0

/dev/sda8 /vmware reiserfs defaults 0 0

/dev/sdb1 /mnt/files1 reiserfs defaults 0 0

/dev/hdc1 /mnt/captive-new_volume captive-ntfs defaults,noauto,users,uid=scarecrow 0 0

 

All partitions are mounted on boot, ban the last one ( noauto ), which uses captive-ntfs for read/write abilities on that filesystem.

Edited by scarecrow
Link to comment
Share on other sites

  • 3 weeks later...

here is my 'fstab':

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/				 /					   ext3	defaults		1 1
/dev/devpts			 /dev/pts				devpts  gid=5,mode=620  0 0
/dev/shm				/dev/shm				tmpfs   defaults		0 0
/dev/proc			   /proc				   proc	defaults		0 0
/dev/sys				/sys					sysfs   defaults		0 0

/dev/fd0				/media/floppy		   auto	pamconsole,exec,noauto,managed 0 0
/dev/hdd				/media/cdrom			auto	pamconsole,exec,noauto,managed 0 0

 

and modified one:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/				 /					   ext3	defaults		1 1
/dev/devpts			 /dev/pts				devpts  gid=5,mode=620  0 0
/dev/shm				/dev/shm				tmpfs   defaults		0 0
/dev/proc			   /proc				   proc	defaults		0 0
/dev/sys				/sys					sysfs   defaults		0 0

/dev/fd0				/media/floppy		   auto	pamconsole,exec,noauto,managed 0 0
/dev/hdd				/media/cdrom			auto	pamconsole,exec,noauto,managed 0 0

# local partitions: (rw,auto,exec,nouser)
/dev/hdc6		/mnt/hdc6		ext2	defaults		0 0
/dev/hdc7			   /mnt/hdc7			   ext2	defaults		0 0

works well, but still: there is no swap partition there, why?

Should i add it?

What are the devices listed in first 4 lines?

Edited by ilia_kr
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...