Well the problem is not mine, I was merely responding to a question by
someone else. df is a good tool, but for cases where not all
partitions have been mounted and to find the locations of swap
partitions (some people use several), gpart would be a better tool. I
haven't tried this myself, it is only what I have read at the gpart
website. A major feature of gpart is its ability to be able to
identify partitions that have damaged identifier blocks, rendering
them unmountable.
On Sat, 10 Mar 2001 20:43, Daryl Johnson wrote:
> Yet your problem, as stated, just asked for a way of listing the
> partitions because you had lost your aide memoire. df appears to do
> exactly what you asked - and you are clearly aware of /swap without
> being reminded :o)
>
> Oh and BTW like another poster I too was unaware of kdf, what a cool
> little gizmo.
>
> Is there a larger problem here that you haven't defined yet Sridhar?
>
> Daryl Johnson
> Proplan Associates
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Sridhar
> > Dhanapalan Sent: 10 March 2001 02:15
> > To: [EMAIL PROTECTED]
> > Subject: Re: [newbie] Partition information?
> >
> >
> > 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
--
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