[Novalug] partition table as text??

Jay Sulzberger jays at panix.com
Wed Jan 30 13:09:54 EST 2008



On Wed, 30 Jan 2008, Beartooth <karhunhammas at Lserv.com> wrote:

>
> 	Is there a command that will give something like the same information 
> as in the displays of gparted and qtparted, but in a straight text terminal, 
> where I can copy and paste it into email or a newsreader?
>
> 	The only way I have now, afaik, is to take a screenshot and attach 
> it; but many lists don't accept attachments.
>
> -- 
> Beartooth Implacable, Neo-Redneck Linux Evangelist

If you are running in a terminal on top of X, just do cfdisk and
then copy the text by swiping with the mouse.  I do not have in
my typing figers which button does pick up and which does put
down.

Example:

                          cfdisk (util-linux-ng 2.13)

                               Disk Drive: /dev/hda
                        Size: 251000193024 bytes, 251.0 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 30515

     Name        Flags      Part Type  FS Type          [Label]        Size (MB)
  ------------------------------------------------------------------------------
     hda1        Boot        Primary   Linux ext3       [/]               279.66
     hda5                    Logical   Linux ext3       [/usr]           5000.98
     hda6                    Logical   Linux ext3       [/var]           3002.23
     hda7                    Logical   Linux swap / Solaris              2714.35
     hda8                    Logical   Linux ext3       [/tmp]            403.04
     hda9                    Logical   Linux ext3       [/home]        239594.19


oo--JS.



More information about the Novalug mailing list