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

Adrian Chadd adrian at freebsd.org
Sun Jan 20 08:12:10 UTC 2013


On 19 January 2013 03:01, Lev Serebryakov <lev at freebsd.org> wrote:
> Hello, Freebsd-geom.
>
>   Patches to build and install world without root access will hit tree
> in near future, and I wonder is it possible to build complete NanoBSD
> image without root access? Now image is built via creating MD disk and
> it needs root access anyway :(
>   Is here any way to create disk image (in file) without root access?
>
>   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!

Boy wouldn't it be great to be able to run geom modules in userspace? :)


Adrian


More information about the freebsd-geom mailing list