On 7/20/05, Glen Gray <glen at lincor.com> wrote:
> Hey guys,
>> I was setting up a test build host to look at what it would take to get
> our product on FC4.
>> For some reason my format_device function in the bash script was failing
> on any of the mkswap/mke2fs commands. It was claiming that it couldn't
> find /dev/<device>.
>> Brute force fix was to make a call to /sbin/start_udev which triggered a
> a refresh. I'm sure there must be a better way to trigger this, so if
> you've any suggestions, then please pass them on.
It forces a reread of the partition table.
If you look at /proc/partitions before and just after a partition, it
will read the same. You need to force it to relook at the partition
table. Run that command and cat /proc/partitions again and you will
see yur new partitions in there
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!