LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] udev sux, I wanna go home

[ILUG] udev sux, I wanna go home

Steven Satelle ssatelle at gmail.com
Thu Jul 21 08:40:42 IST 2005


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.
> --
use /sbin/partprobe
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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell