--- In [email protected], "navin.karmarkar" <navin.karmar...@...> wrote: > > hi dear linux friends, > > after installing linux or changing in the partition table when i m giving > the foll cmd > > # blockdev --rereadpt /dev/hda > > or > > # hdparm -z /dev/hda > > BLKRRPART failed : device or resourcem bash > > sync - flush fs buffers > Try the following and if any error, pls post. $sync $partprobe -s /dev/hda
sync - flush filesystem buffers. partprobe - Inform the os of a partition table changes. "-s" - show a summary of devices and their partitions. Also refer the following Why linux can be updated without rebooting One of the most frustrating things about installing or upgrading programs on certain operating systems is the constant need to have to reboot. This is especially true with drivers or system files. Why is it that linux can be upgraded without rebooting? Read on to find out. It all comes down to how linux and the file system handles files. When linux runs an executable it loads the whole file into memory and accesses it from there. This means that there is no connection to the physical file on the disk drive. When the program is closed and all connections to the file are cut the file is deleted from memory. So while the program is running, from memory, the physical file on the disk can be updated or changed at will and the running program is not affected. If the program is then closed, and the copy is deleted from memory, it can then be started again using the new file version. This method works with all files on a linux system, including drivers and system files, with the exception of just one file. That file is the actual linux kernel itself and of course it stands to reason that if that file is closed down then the entire operating system is closed down. To sum it all up every single program on a linux system can be upgraded while the system is running. All that needs to be done to start using the upgraded program is to restart it. The only reason to need a computer reboot is to start using a new linux kernel. There is no other reason at all to need a computer reboot when using linux. What all this means is that a linux system can be upgraded in real time while it is working and still have a hundred percent uptime. It has been this way with linux from the start while another operating system is still nowhere near this capability even with its latest and greatest(?) release. B.Sadhiq
