randy at linuxfromscratch.org
Tue Oct 7 15:41:57 PDT 2008
Matthew Burgess wrote:
> Apparently the use case is that after using fdisk to edit the partition table, one would normally reboot so that Linux knows about the new partition and one can run 'mkfs' on the new /dev node. Instead of rebooting, one can in fact use partprobe, or partx. I've not tried it, but I'd be surprised if Linux didn't just do this detection automatically now with things like Udev & HAL, though having low-level utilities around in case those aren't available for whatever reason would seem eminently sensible.
To this day, using my most modern systems which include Udev/D-Bus/Hal
and all other recent additions, after creating a new partition, I have
to reboot to see it in order to create a filesystem. Just FYI.
Seems these partprobe, partx utilities would come in handy.
More information about the lfs-dev