Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mount point

Status
Not open for further replies.

kpdvx

Programmer
Dec 1, 2001
87
US
durring install, i forgot to give my fat32 parition a mount point, how do i add this so linux so that it is mounted everytime by default on boot?

Also, i seem to recall slackware8 having a program called gnome-ppp or something like that- i would like to get a hold of it, but i cant find it on the net, and a "friend" has my slack disc. Can anyone help me locate this?
 
Yes, you need to update the "fstab" file. This has the mount directives for your file system. Also, to acquire the drive/partition information, use the Hardware Browser and select the Hard Drive option. This will allow you to view how Linux sees that partition so you can edit the fstab properly.

I am new to Linux myself, but that is what I had to do to add a partition.

Also, you should note, I did try to add a FAT32 partition, but had trouble because, apparently, the support for FAT32 is still in ALPHA stage. I would be very cautious adding this new partition.

The Linux For Dummies book was an excellent resource and taught me how to do this.

Gary
gwinn7

 
The support for fat32 has worked fine since I started using Windoze 95 in 1997. I was using Slackware 3 or 4 something, then Slackware 7.0, 7.1, now 8.0 so it should work.

First, you need a directory for a mounting point. You could us /mnt since Slackware makes this directory during instalation. However, if you are going to mount several drives, make several directries, e.g. mkdir /mnt/c_drive, mkdir /mnt/d_drive. I wanted a flatter directory structure, so i used mkdir /c, mkdir /d, mkdir /e.

Then you can mount them eiter manually using mount, or automatically by adding an entry to /etc/fstab. I use these lines in my /etc/fstab (Word wrap made these 3 lines hard to read, but there should only be a newline after the second 0):

/dev/hda1 /c vfat umask=0000,rw,exec,auto,unhide 0 0
/dev/hdc1 /d vfat umask=0000,rw,exec,auto,unhide 0 0
/dev/hdd1 /e vfat umask=0000,rw,exec,auto,unhide 0 0


I wanted to give read/write access to everybody, not just root. That was a real pain to figure out the way to mount them with those permissions. (I will say thanks for the tip that set me on the right track by passing it on.) You may want to change the option umask=0000 if you need more security on your system.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top