Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2003, 03:16 AM   #1
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68

Rep: Reputation: 15
fstab hard drive mount

I have a hard drive that contains all my ogg files. I recently restarted one of my computers from scratch, but I have had issues automatically mounting my this ogg hard drive. I tried to mount it using fstab, but I have two questions.

1). fstab requires the type of hard drive (ie ext3). However, I don't remember what type I originally made it. How can I find out what type of hard drive I have?

2) besides the type, fstab has an entry called defaults followed by two numbers. Either 0 0 or 1 2. How do I know what to choose for these

Old 07-05-2003, 03:34 AM   #2
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
1) Can't you try auto for the filesystem? May work.(also you could use diskdruid - I think that's the Red Hat version. In Mandrake, there is a disk-partitioning tool. It allows you to see the partition, graphically, and automatically slots in an fstab entry for you. Red Hat may well have something similar)

2) These digits indicate the order in which the disks are mounted and checked, I believe. So, 0 0 should be fine, I think.
Old 07-05-2003, 03:57 AM   #3
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
1) "fdisk -l"

2) for a normal linux drive, you'd want 1 1, other filesystems that you wouldn't want to check (e.g. fat32 or cdroms) you'd just have 0 0


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
Hard drive partitions not set up in fstab/mtab odyssey84 Linux - Newbie 6 10-18-2005 08:59 AM
Changing Fstab in ubuntu to mount vfat drive mikeymorgan Linux - Newbie 13 06-23-2005 08:50 AM
Hard Drive Upgrade Oddities (fstab/fdisk) blainehilton Linux - General 2 06-04-2005 11:28 AM
Ho do you use fstab-sync to mount a drive? ginda Linux - Newbie 3 03-15-2005 11:05 AM
mount network drive fstab/umask? J.Q. Monkey Linux - Newbie 3 02-24-2004 01:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 PM.

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