BIND segway -> python -> first-class ports
Thomas Mueller
mueller6724 at bellsouth.net
Wed Dec 11 13:05:19 UTC 2013
> While bsdlabel lives, it is very painful to use once you learn gpart. A
> parseable output from gpart would be wonderful. Another would be netstat.
> FWIW, the fact that JunOS can output most everything in XML is a great
> thing that I wish every router and OS did! (Not the XML part, but a format
> suitable or easy parsing. JSON would probably be even better.)
--
> R. Kevin Oberman, Network Engineer
I was going to say that one way I used bsdlabel was to create a bootable disk image to boot FreeBSD with grub2 or grub4dos.
I would then escape to loader prompt and switch the root partition to the proper place.
I didn't use it because my other solution worked: USB-stick installation of FreeBSD, boot that, escape to loader prompt and switch the root.
I could even unload and switch the kernel, like for instance
boot /boot/kernel2 -a
By the way, running NetBSD disklabel is a major pain, and undependable, an argument for switching from MBR to GPT.
I am not familiar with JunOS or JSON.
Tom
More information about the freebsd-stable
mailing list