Is it possible to run gpart and newfs on file without root access (without mdconfig)?

Andrey V. Elsukov bu7cher at yandex.ru
Mon Jan 21 17:51:14 UTC 2013


On 21.01.2013 21:48, Konstantin Belousov wrote:
>>>   Yes, permissions fixup needs root access in any case, but it
>>> could be done on first boot of created image, on target device, with
>>> some rc kung-foo!
>>
>> # chmod g+rw /dev/mdctl
>> # chmod g+rw /dev/geom.ctl
>>
>> And now the operators group can do what you want.
> 
> Do the newly created devfs nodes for the md(4) and partitions on md(4)
> somehow get g+rw afterwards ? I think the write access is needed to
> /dev/mdN*.

Yes, there is some devfs foo needed. But the easiest way is sudo :)

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-geom mailing list