On Fri, 19 Oct 2001 16:31:51 GMT, Eric P. McCoy staggered into the Black
Sun and said:
>> I have created a new partition with /usr/sbin/cfdisk. After that I
>> tried to /sbin/mke2fs that new partition. But I got an error message
>> saying that "I need to reboot or re-read the partiton table" Can
>> anyone tell me how can I have my machine re-read the partiton table
>> without rebooting?
>Sometimes it's not possible to reread the partition table without
>rebooting. I'm not 100% clear on the exact circumstances which prevent
>it from working, but if, for example, another partition on the same
>disk is mounted, that will probably cause the error.
You cannot umount the partition that contains / , so if you change the
partition table of the disk that contains / , you will have to reboot
afterwards before you start mkfsing. This is why I like to make changes
to disks where / is by using Tom's RootBoot or a similar rescue-type
system, since in these, / is on a RAMdisk and there's no problem with
mangling any disk's partition table.
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL