Welcome to the most active Linux Forum on the web.
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 04-22-2003, 12:36 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 6

Rep: Reputation: 0

It is my understanding that a partition is a contiguous section of blocks on a hard disk. And that there are four primary partitions on an ide, and that 3 of these partitions are ?necessary? and the fourth is used as an extended partition which helps in managing logical partitions.

I am running Slackware 7.1
I have a /, /home, /usr, swap partition that i made. the last partition i made in setup was the /usr, which now has all the remaining hardrive space.

Looking at my /dev i see that there are all these logical partitions already there, ie. hda5, hda6, etc. Do these actually exist, or are they just there to tell me this is the convention used to for naming?

If i want to add another partition, I think I first need to change the size of my /usr partition. But in doing this it seems that I will loose all data on it. So I think I will need to copy the information to another partition, like /home, and then redo the /usr partition. Then copy back the data to the new partition. Is this generally correct?

Is there a way to mount something to, say, hda8, if I have not actually created it as a partition, and added a filesystem to it, without first going through a setup or fdisk?

Please help with any of the questions, or point out any incorrect understandings, or point me to somewhere.
Old 04-22-2003, 12:45 PM   #2
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
I can only answer the first: it's the "standard" Microsoft created. Most commercial Windows tools are based on it. If you try to break it, the tools will warn you, but some would still let you. Windows wouldn't work or recognize the drives outside the area.

For Linux-only system, you can apply any standard you want as long as Linux recognizes it. On my distro, there are hda 1 - 32.

Your hda5+ do exist. hda4 is usually the logical part. It can't be mounted.
Old 04-22-2003, 12:49 PM   #3
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
the hda* in /dev are place holders... logical devices without any real physical device to point to... think of /dev as a hallway full of doors... /dev/hda1 opens to /, hda2 to /home, and hda3 to swap and hda4 to /usr. Then hda5-n open to a wall... nothing there... no room to walk into. They're leftovers... they are only used if you have the partitions for them.

To add another partition... you're right. You'd have to copy the data over to another partition, delete partition, create partition,etc. if you can do a backup first though... while its not likely it is possible that by rewriting the partition table all data could be lost.

as far as mounting something to /dev/hda8... the files or nodes in /dev are devices... they get mounted ... things do not get mounted to devices. when you mount something, a floppy, a dvd drive, a usb hard drive, whatever... they typically get mounted to a directory in the /mnt hierarchy.

like /mnt/floppy, /mnt/dvd, or /mnt/usbdrive.

hope that helps,


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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 02:11 PM
How many partitions should I use? fishybawb Slackware - Installation 4 07-23-2004 03:53 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM
Partitions twinkers Linux - General 26 08-24-2003 11:51 AM
How many partitions dark_light Linux - General 7 05-08-2002 05:37 PM > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration