cvs commit: src/sys/amd64/conf GENERIC src/sys/arm/conf EP80219 src/sys/conf NOTES files files.powerpc options src/sys/geom geom_apple.c geom_gpt.c src/sys/geom/part g_part.c g_part.h g_part_apm.c g_part_gpt.c g_part_if.m src/sys/i386/conf GENERIC ...

Nate Lawson nate at root.org
Wed Feb 7 23:57:35 UTC 2007


John Baldwin wrote:
> On Wednesday 07 February 2007 18:29, Nate Lawson wrote:
>> I assume phk@ is referring to the geom debug flags sysctl.  The problem 
>> with that approach is that it disabled (and potentially left disabled if 
>> the flag wasn't cleared as the tool exits) all protection for the 
>> devnode behind the mounted drive.  If something else was running at the 
>> same time, it could overwrite any data on the devnode.  Or the fdisk 
>> tool could write anywhere in the device, not just the boot sector.
> 
> No, fdisk and bsdlabel don't frob the sysctl, they talk directly to GEOM to 
> update the stuff as well using MBR-specific or BSD label-specific requests.

Sorry, I was thinking of sysinstall.

-- 
Nate


More information about the cvs-all mailing list