Score:0

Reload partition table on FreeBSD

cn flag

I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS). I don't have hdparm nor gfdisk nor partprobe.

What's the standard way of doing ?

PS: my pkg doesn't work behind a firewall so i probably can't install packages other than via SCP. [EDIT]Got my firewall rules relaxed, I can install packages if needed[/EDIT]

Already read Reread partition table without rebooting? but there are only solutions for linux.

in flag
AFAIK, you don't need to reload partition table information manually on FreeBSD. Anyways, `man gpart`.
cn flag
Indeed, as long as geom can read something. After zeroing the disk, geom didn't "see" the disk so gpart couldn't create new partitions unless I reboot.
in flag
Hum? When I `dd` by USB stick with zeroes, geom automatically detects it and removes all partition information from `gpart` output, as well as partition character devices from `/dev/`.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.