Mailinglist Archive: opensuse (2212 mails)

< Previous Next >
Re: [opensuse] Reading past end of disk? [Was: Bad Sector remapping?]
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Thu, 27 Sep 2007 16:42:47 -0700
  • Message-id: <200709271642.47805.rschulz@xxxxxxxxx>
On Thursday 27 September 2007 16:33, Carlos E. R. wrote:
> Randall R Schulz wrote:
> > On Thursday 27 September 2007 16:03, Greg Freemyer wrote:
> >> Wait a second...
> >>
> >> Per hdparm -I /dev/sda, my drive only has 312518818 sectors, so
> >> why is Linux even trying to read sector 312518818?
> >
> > Linux accepts the size you specify when you format a file system.
> > When doing so, it is unlikely to need to read that sector, only
> > include it's index in a free block. Only when the demand for free
> > blocks causes that block to be allocated will the drive be asked to
> > read or write it.
>
> We don't normally specify a size: we tell mkfs to do its job and it
> does it, automatically.

Eh? You tell it the drive's bounds when you partion it. The lie, if you 
will, might be recorded in the partition table, but it's a lie 
nonetheless.


> --
>       Carlos E. R.


Randall Schulz
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups