Problem reports for u...@freebsd.org that need special attention

2019-12-01 Thread bugzilla-noreply
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and ob

Re: pendrive clone impossible ?

2019-12-01 Thread Warner Losh
On Sun, Dec 1, 2019, 10:22 AM Tomasz CEDRO wrote: > As my previous message got moderated, just a quick summary - looks > like a GEOM_PART silently discards writes to MBR with a DD when it > considers MBR broken (writing to the rest of the disk is possible). I > have reported this as error: > I'm

Re: pendrive clone impossible ?

2019-12-01 Thread Tomasz CEDRO
As my previous message got moderated, just a quick summary - looks like a GEOM_PART silently discards writes to MBR with a DD when it considers MBR broken (writing to the rest of the disk is possible). I have reported this as error: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242341 -- CeD

Re: pendrive clone impossible ?

2019-12-01 Thread Dr. Nikolaus Klepp
Anno domini 2019 Sun, 1 Dec 17:45:17 +0100 Tomasz CEDRO scripsit: > On Sun, Dec 1, 2019 at 8:28 AM Scott Bennett wrote: > > >Does GEOM in any way prevents me from using disk that has corrupt MBR? > > Yes, most likely. > > > > >Why I cannot write a MBR from a file but I can from a md0? > > >A

Re: pendrive clone impossible ?

2019-12-01 Thread Tomasz CEDRO
On Sun, Dec 1, 2019 at 8:28 AM Scott Bennett wrote: > >Does GEOM in any way prevents me from using disk that has corrupt MBR? > Yes, most likely. > > >Why I cannot write a MBR from a file but I can from a md0? > >Any hints welcome :-) > See the last line of your messages below. > (..) >

Re: pendrive clone impossible ?

2019-12-01 Thread Gary Jennejohn
On Sun, 1 Dec 2019 13:14:16 +0300 Anatoly wrote: > On Sun, 1 Dec 2019 08:28:01 +0100 > Gary Jennejohn wrote: > > > The geom code protects certain parts of the data area on the > > drive, in particular GPT/MBR areas, unless ``sysctl > > kern.geom.debugflags=16'' is run beforehand. One can see t

Re: pendrive clone impossible ?

2019-12-01 Thread Anatoly
On Sun, 1 Dec 2019 08:28:01 +0100 Gary Jennejohn wrote: > The geom code protects certain parts of the data area on the > drive, in particular GPT/MBR areas, unless ``sysctl > kern.geom.debugflags=16'' is run beforehand. One can see this in > many places in the geom code. > > I always set this s