[hllug] Re: Aid fixing fstab

  • From: Herb Cee <hc@xxxxxxxxxxx>
  • To: hllug@xxxxxxxxxxxxx
  • Date: Sun, 13 Sep 2009 21:56:30 -0500

Lee Parmeter wrote:
Herb:

Ok, I think the example below should work for you.

Make a copy of your working fstab prior to editing.

cd /etc
cp fstab fstab.orig


# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda6 / ext3 relatime,errors=remount-ro 0 1
/dev/sda7     none            swap    sw              0       0
/dev/sdb1    /media/BackupAuto  ext3    defaults     0        2
/dev/sdb2    /media/Win-Me    vfat    defaults,umask=007      0        2
/dev/sdb3    /media/Linux    ext3    defaults    0    2
/dev/scd0    /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0     /media/floppy0 vfat rw,user,noauto 0 0
#

Create the following new directories:Herb Cee wrote:
=======================
/media/Win-Me
/media/Linux

Note:
====
Instead of umask=007, you could set the your uid and gid directly as: uid=xxx,gid=yyy Where "xxx" is your userid numeric value and "yyy" is your default groupid numeric value. Setting umask=000 will let anyone read/write the partition and can be used as well.
Lots of options in how you set this up.

<http://my.opera.com/lounge/forums/topic.dml?id=83440>

<http://www.tuxfiles.org/linuxhelp/fstab.html>

-Lee
Lee, worked perfect, thanks a lot for the guiding hand. I will study this tomorrow to make sure I understand.
herb
______________________________________________________________________________
Highland Lakes Linux User Group (HLLUG): http://www.hllug.org
HLLUG mailing list: //www.freelists.org/list/hllug

Other related posts: