LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-01-2005, 08:01 AM   #1
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 18

Rep: Reputation: 15
fstab entries show non-linear partition numbers


Code:
/dev/hdb6 / ext3 defaults 1 1
/dev/hdb1 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdb10 /home ext3 defaults 1 2
//mage/STUFF /mnt/STUFF smbfs user,suid,username=% 0 0
/dev/scd0 /mnt/cdrom iso9660 user,ro,exec 0 0
/dev/scd1 /mnt/cdrom2 iso9660 user,ro,exec 0 0
/dev/fd0 /mnt/floppy user,suid defaults
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda6 /mnt/win_e vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb9 /tmp ext3 defaults 1 2
/dev/hdb7 /usr ext3 defaults 1 2
/dev/hdb8 /var ext3 defaults 1 2
/dev/hdb5 swap swap defaults 0 0
Is there an obvious reason that hda2-4 and hdb2-4 are missing ?
All partitions are in use - there's no free space.
 
Old 01-01-2005, 08:22 AM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Yes there is. Primary partitions are numbered 1 through 4. Logical partitions are numbered 5 upwards.

Basically, your disks have one primary partition (i.e. hda1), and a bunch of logical ones.
 
Old 01-01-2005, 08:25 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,812

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
No worries. It is normal and just the way the partitions were created.
In a nutshell
Primary partitions are 1-4
logical partitions are any partitions >=5
An extended partition is a container for logical partitions. This is the method to create more then 4 partitions.

To see how the drive is partitions log in as root and type in the command.
/sbin/fdisk -l /dev/hdb

I would guess that your extended partition is hdb2 which is not mounted and not shown in the fstab file.
 
  


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
how do i show line numbers in kdevelop? ereeno Linux - Software 3 12-17-2008 02:16 AM
Dynamic Entries in fstab? bigoli MEPIS 1 06-02-2005 02:18 PM
Mounting linear-raid partition daniel_lidstrom Linux - Software 2 12-29-2004 05:04 AM
fstab file entries what do they mean? bgagnon Suse/Novell 2 11-12-2004 02:23 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration