Wednesday, May 06, 2009

Mounting jumpdrives on RedHat Linux

Login as "su" super user on your linux machine and add the line below that helps you mount the jump drive on boot up.  Addd the line in bold below.

my  -  /etc/fstab  file


LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda7               swap                    swap    defaults        0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/sda1               /mnt/jumpdrive          auto user,noauto,unmask=000 0 0
/dev/hda8               /mnt/ddrive             vfat    auto,umask=0 0 0
/dev/hda9               /mnt/edrive             vfat    auto,umask=0 0 0
/dev/hda10              /mnt/fdrive             vfat    auto,umask=0 0 0
 
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0

Additionally if you just want to mount a jumpdrive for a one time use, you can just use the "mount" command.

#
mount /dev/sda1 /mnt/jumpdrive

If the folder /dev/sda1 does not exist create it.


No comments: