LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2007, 04:13 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
[solved] Run fdisk and NOT reboot?


I always thought Linux never had to reboot, except when updating the kernel. And even then (like when installing drivers), only for new versions.

But I always see this,
Code:
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Is there any way to rerun makedev or something?

edit --
If you install gnu parted you can run partprobe and not have to reboot.

Last edited by 1veedo; 01-02-2007 at 04:20 PM.
 
Old 01-02-2007, 05:39 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,273

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
The Linuxkernel can't properly reread an altered partition table. That is why a mounted partition should never be resized.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reboot freezes after yast update run, reboot for kernel update sparkbot Linux - Software 2 11-15-2006 07:34 PM
alsaconf needs to be run after every reboot dick-richardson Linux - Software 3 07-13-2006 02:54 PM
Partition not recognized after fdisk -- must reboot? Harlin Linux - General 3 09-20-2005 05:30 PM
Linux fdisk will not run! freemanx Linux - Newbie 5 10-02-2003 10:35 PM
run process when reboot ust Linux - General 2 08-15-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration