Complete.Org: Mailing Lists: Archives: linux-help: February 2000:
[linux-help] Re: disk surface problems?
Home

[linux-help] Re: disk surface problems?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: disk surface problems?
From: Jonathan Hall <jonhall@xxxxxxxxxxxx>
Date: Sun, 20 Feb 2000 12:37:51 -0600
Reply-to: linux-help@xxxxxxxxx

Look at /etc/fstab:

ile system> <mount point> <type> <options>                  <dump> <pass>
/dev/hda5       /             ext2   defaults,errors=remount-ro 0      1
/dev/hda9       none          swap   sw                         0      0
proc            /proc         proc   defaults                   0      0
/dev/hda6 /home ext2 defaults 0 2
/dev/hda7 /usr ext2 defaults 0 2
/dev/hda8 /var ext2 defaults 0 2
/dev/hda1 /win vfat defaults 0 2
/dev/sda1 /cdr ext2 defaults 0 2


One (or more) partition will have "swap" listed as the type and "sw" as the
options.  This is/these are the swap partition(s).


On Sun, Feb 20, 2000 at 06:20:23AM -0600, j m wagle wrote:
> Thanks Jonathan and Phrostie:
> 
> but HOW can I tell what the swap device is?  Remember i am not very
> bright :).
> 
> sorry for the repeated questions
> mike in wichita
> 
> Jonathan Hall wrote:
> > 
> > yes, the -c switch also works for mkfs... it simply runs badblocks.
> > 
> > On Sun, Feb 20, 2000 at 04:43:44AM +0000, phrostie wrote:
> > > mkswap has a switch -c that tells it to check for bad
> > > blocks.
> > >
> > > i've been having trouble too.
> > >
> > > remember to do a swapoff <device>
> > > then swapon <device> when your done.
> > >
> > >
> > > j m wagle wrote:
> > > >
> > > > Thank you, badblocks works like a champ.
> > > > Now... (sorry, one more question), how do I access my 'swap' space?
> > > > I do a 'df' and display my /dev/hda## (where ## = 05 to 11), but my
> > > > 'swap' is not shown.  (sorry if this is not the way to pose the
> > > > question, but I think that the swap space is were my 'bad block'
> > > > is).
> 
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi

--
"Heavier-than-air flying machines are impossible." -- Lord Kelvin,
president, Royal Society, 1895.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Jonathan Hall  *  jonhall@xxxxxxxxxxxx  *  PGP public key available
 Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
         http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
                  -=  Running Debian GNU/Linux  =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]