The problem with df is that it only lists mounted partitions and it 
omits swap partitions. I believe there is a programme called gpart 
that can identify partitons, even damaged ones.


On Sat, 10 Mar 2001 06:03, Michael O'Henly wrote:
> Oh, boy. I don't know if Linux is up for that!  :-)
>
> Try "df" at the command prompt.
>
> Cheers.
>
> M.
>
> On Thursday 08 March 2001 16:09, you wrote:
> >      I have gone and lost the paper on which I had written down
> > what partitions on the hard disk contain which Linux partitions. 
> > Is there some way to get informaion about this in Linux -- some
> > kind of command I can give, or some kind of application I can run?
> >
> >      The best thing would be if I could get that information in a
> > form that I can understand, preferably something like this:
> >
> >
> >      /dev/hda5     /          1.2 GB
> >      /dev/hda6     /usr       1.2 GB
> >      /dev/hda7     /home      650 MB
> >      /dev/hda8     /swap      500 MB
> >
> >
> >      I understand that this is probably asking way too much
> > though, so I'll settle for information about how big the
> > partitions are, and what they are called (/dev/hda?).  I can
> > probably figure out what they contain just by getting information
> > on how big they are.
> >
> >                                         DRX

-- 
Sridhar Dhanapalan.
        "There are two major products that come from Berkeley:
        LSD and UNIX. We don't believe this to be a coincidence."
                -- Jeremy S. Anderson

Reply via email to