LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-18-2005, 08:38 AM   #1
theresaboothe
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 6.1
Posts: 5

Rep: Reputation: 0
fdisk


I'm trying to learn how to use this feature. When I write a new partition and reboot the machine and look at my fstab, I see /dev/pts. What is this?
 
Old 02-18-2005, 09:19 AM   #2
edgood1
Member
 
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30

Rep: Reputation: 15
/dev/pts is the "psuedo terminal slave". in short, it controls your terminals. It is not actually a partition on your disk. im assuming you saw this when you did a 'mount'

a better way to see only you disk partitions is to type (as root)

bash$ fdisk -l

(thats the lowercase letter L, not a one)
this will print all the partitions on each disk attached to your system. It will also list disk information for disks with no partition table.

heres mine:

(eddie@autobot)(~) bash$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4865 38973690 5 Extended
/dev/hda5 14 141 1028128+ 83 Linux
/dev/hda6 142 1416 10241406 83 Linux
/dev/hda7 1417 1608 1542208+ 83 Linux
/dev/hda8 1609 1736 1028128+ 83 Linux
/dev/hda9 1992 2246 2048256 82 Linux swap
/dev/hda10 1737 1991 2048256 83 Linux

Partition table entries are not in disk order


##

doing this:

bash$ mount

will tell you where these partitions are mounted (/etc/fstab sets this)....

(eddie@autobot)(~) bash$ mount
/dev/hda5 on / type reiserfs (rw)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
/dev/hda1 on /boot type reiserfs (rw)
/dev/hda6 on /usr type reiserfs (rw)
/dev/hda7 on /var type reiserfs (rw)
/dev/hda8 on /tmp type reiserfs (rw)
/dev/hda10 on /home type reiserfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)


hope this helps
reply if you need any more info

--eddie
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
using fdisk jonn Linux - Newbie 2 08-03-2004 03:10 PM
fdisk rogk Linux - General 4 07-24-2004 02:25 PM
Fdisk rstmn957 Slackware 2 12-23-2003 07:15 PM
can't fdisk new hd nmistry Linux - Hardware 4 11-03-2003 10:43 AM


All times are GMT -5. The time now is 10:08 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