LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Run fdisk and NOT reboot? (https://www.linuxquestions.org/questions/linux-newbie-8/run-fdisk-and-not-reboot-515682/)

1veedo 01-02-2007 03:13 PM

[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.

AwesomeMachine 01-02-2007 04:39 PM

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


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