| From | Sent On | Attachments |
|---|---|---|
| Benjamin Kaduk | Oct 7, 2011 10:41 am | |
| Garrett Cooper | Oct 7, 2011 10:45 am | |
| Benjamin Kaduk | Oct 7, 2011 10:51 am | |
| Poul-Henning Kamp | Oct 7, 2011 11:02 am | |
| Warren Block | Oct 7, 2011 11:12 am | |
| Arnaud Lacombe | Oct 7, 2011 11:26 am | |
| Warren Block | Oct 7, 2011 11:52 am | |
| Benjamin Kaduk | Oct 7, 2011 11:54 am | |
| Poul-Henning Kamp | Oct 7, 2011 12:03 pm | |
| Andrey V. Elsukov | Oct 7, 2011 12:06 pm | |
| Garrett Cooper | Oct 7, 2011 12:15 pm | |
| Poul-Henning Kamp | Oct 7, 2011 12:18 pm | |
| Glen Barber | Oct 7, 2011 12:40 pm | |
| Andrey V. Elsukov | Oct 7, 2011 1:12 pm | |
| Warren Block | Oct 7, 2011 1:26 pm | |
| Glen Barber | Oct 7, 2011 1:37 pm | |
| Arnaud Lacombe | Oct 7, 2011 1:37 pm | |
| Warren Block | Oct 7, 2011 2:10 pm | |
| Poul-Henning Kamp | Oct 7, 2011 2:10 pm | |
| Arnaud Lacombe | Oct 7, 2011 2:22 pm | |
| Glen Barber | Oct 7, 2011 2:25 pm | |
| Warren Block | Oct 7, 2011 4:03 pm | |
| Warren Block | Oct 7, 2011 4:41 pm | |
| Poul-Henning Kamp | Oct 8, 2011 1:10 am | |
| Poul-Henning Kamp | Oct 8, 2011 1:18 am | |
| Lev Serebryakov | Oct 8, 2011 3:04 am | |
| Poul-Henning Kamp | Oct 8, 2011 3:07 am | |
| Lev Serebryakov | Oct 8, 2011 3:31 am | |
| Arnaud Lacombe | Oct 8, 2011 9:15 am | |
| Poul-Henning Kamp | Oct 8, 2011 9:52 am | |
| Arnaud Lacombe | Oct 8, 2011 11:07 am | |
| Garrett Cooper | Oct 8, 2011 11:10 am | |
| Arnaud Lacombe | Oct 8, 2011 11:36 am | |
| Poul-Henning Kamp | Oct 8, 2011 12:10 pm | |
| Arnaud Lacombe | Oct 8, 2011 12:50 pm | |
| Poul-Henning Kamp | Oct 9, 2011 12:36 am | |
| Lev Serebryakov | Oct 9, 2011 12:39 am | |
| Arnaud Lacombe | Oct 23, 2011 2:54 pm | |
| Andrey V. Elsukov | Oct 23, 2011 9:16 pm | |
| Benjamin Kaduk | Oct 24, 2011 6:18 pm | |
| Andrey V. Elsukov | Oct 24, 2011 9:33 pm | |
| Poul-Henning Kamp | Oct 24, 2011 11:07 pm | |
| Andrey V. Elsukov | Oct 24, 2011 11:19 pm | |
| Poul-Henning Kamp | Oct 24, 2011 11:32 pm |
| Subject: | Re: aliasing (or renaming) kern.geom.debugflags | |
|---|---|---|
| From: | Arnaud Lacombe (laco...@gmail.com) | |
| Date: | Oct 7, 2011 11:26:16 am | |
| List: | org.freebsd.freebsd-current | |
Hi,
On Fri, Oct 7, 2011 at 2:13 PM, Warren Block <wbl...@wonkity.com> wrote:
On Fri, 7 Oct 2011, Poul-Henning Kamp wrote:
In message <alpi...@multics.mit.edu>, Benjamin Kaduk writes:
Now, an ordinary user who is doing this for the first time might ask, "why do I need to do something with 'debugflags' in order to make a USB stick?
Which is the exactly right question to ask.
The procedure documented is clearly flawed.
Probably a misunderstanding on my part, since I suggested it to Glen. Can't recall the circumstances exactly.
The next question would be: what is the correct procedure?
I'd guess the procedure involves shooting your feet:
from `sys/geom/geom_subr.c':
/* If foot-shooting is enabled, any open on rank#1 is OK */ if ((g_debugflags & 16) && pp->geom->rank == 1) ;
this was introduced by phk@ himself in:
commit 641a10a0cb4ca86785ef13fce9343bc34c30f326 Author: phk <ph...@FreeBSD.org> Date: Wed Feb 12 09:48:27 2003 +0000
Implement a handle for efficient implementation of perforations in lower extremities.
Setting bit 4 in debugflags (sysctl kern.geom.debugflags=16) will allow any open to succeed on rank#1 providers. This will generally correspond to the physical disk devices: ad0, da0, md0 etc.
This fundamentally violates the mechanics of GEOMs autoconfiguration, and is only provided as a debugging facility, so obviously error reports on GEOM where this bit is or has been set will not be accepted.
- Arnaud
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "free...@freebsd.org"





