LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-12-2005, 07:15 PM   #1
joeman3429
Member
 
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
mounting folder on start-up


Hello,
So I have a fat32 partition all setup and working in both Windows and Fedora, but I have to mount the partition manually each time I restart.
I know there's a way to run scripts at start-up, but I'm no expert at linux. If you could just point me to the script file or whatever it is I'm sure can figure it out from there.
Thanks
 
Old 10-12-2005, 07:20 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Have a look at
Code:
cat /etc/fstab
You just need an entry that includes your partition, mount point, fileystem type and mount options.

If you still have questions, post again..
 
Old 10-12-2005, 07:41 PM   #3
joeman3429
Member
 
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67

Original Poster
Rep: Reputation: 15
thanks for the quick responce, works great.
For anybody that cares I appended this to my /etc/fstab file

Code:
/dev/sdb1               /mnt/windows            fat32   defaults        0 0
Just one question. I put "0 0" at the end, and it seems to work fine. What does using the other options do?
/ has 1 1
and /boot has 1 2
does it really matter?
 
Old 10-12-2005, 10:13 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
This is from the
Code:
man fstab
pages:

Quote:
The fifth field, (fs_freq), is used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. If the fifth field is not present, a value of zero is returned and dump will assume that the filesystem does not need to be dumped.

The sixth field, (fs_passno), is used by the fsck(8) program to deter‐mine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting home folder BruceC Other *NIX 2 09-30-2005 05:12 PM
Mounting a folder dwig365 Linux - Newbie 2 10-07-2004 03:45 PM
folder permissions when mounting to them Lokheed Linux - Hardware 2 09-16-2004 10:52 PM
Mounting a single folder george_mercury Linux - General 2 07-06-2004 06:46 PM
Mounting folder as CDROM? StarMoose Linux - General 9 01-27-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration