NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Beating a dead horse



    Date:        Thu, 26 Nov 2015 09:11:22 +0000 (UTC)
    From:        mlelstv%serpens.de@localhost (Michael van Elst)
    Message-ID:  <n36ibq$acf$3%serpens.de@localhost>

  | LVM scans for devices and has a filter regex configured in
  | /etc/lvm/lvm.conf.

OK, thanks, I'll look ... the lvm doc looks like it is untouched from
linux, makes it very hard to know what is happening...

  | >The kernel does some stuff right for non 512 byte sector disks, but still
  | >does lots wrong.   It is still a mess in this area.
  | 
  | Works for me...

Just try making a ccd by combining a 512 byte sector drive and a 4K
sector drive, and watch what happens...   Or put a cgd on a 4K sector
drive, and then attempt to fix the obvious bug.   It is a mess.  Things
still get very confused as to where inside the kernel "sectors" are
really sectors, and where they're DEV_BSIZE units, which can lead to
conversions happening improperly sometimes.   This isn't to say that it
gets things wrong in the common cases, just that it is a mess...

kre



Home | Main Index | Thread Index | Old Index