Click to See Complete Forum and Search --> : Identifying Unmounted Partitions


JavaCowboy
01-24-2002, 05:16 PM
How would I get a list of all available partitions in my system, even those that haven't yet been assigned. In order for me to find the name of my new partition, I had to use Harddrake, a Mandrake-specific GUI tool in order to identify it as /dev/hdb5.

I tried running fdisk, but it doesn't seem to work in Mandrake. I'm debating whether to be a man and install Slackware, or to be a wimp and stick with Mandrake :)

What generic command-line tool can I use to find the name of this partition? I tried df, but it only identifies the partitions that have already been mounted. There doesn't appear to be a relevant option in the man pages.

The Whizzard
01-24-2002, 05:22 PM
if you have cfdisk, try that. i prefer cfdisk over fdisk or partd. It'll show all harddrives and partitions, unlike fdisk where you have to select which disk to view, ie. fdisk /dev/hda

2thumbs
01-24-2002, 05:36 PM
cat /proc/partitions

note, that if this is a newer install of MDK (8.1) or are using devfs, then it won't give you /dev/foo listings.. it will list them by connection .. like /scsi(ide)/host#/bus#/target#/lun#/part#

[ 24 January 2002: Message edited by: 2thumbs ]