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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...