« Reducing the Cost of Your Printing | Main | Springwidget, widgets for the web and internet »

Nov 8
No Need to Reboot in Linux for Software Upgrades or Installs
To linux or not. That is the question. Here's a good writeup on why Linux is different from Windows. Linux machines can install or upgrading programs without a need for constant reboot. Do that with a Windows PC for software upgrades and you'll bound to have problems, but it is possible to run Windows programs immediately after you install it. Normally in any critical Linux operations, the only time a server needs to reboot is after a big kernel upgrade. So that's why I would still loved managing Linux servers compared to Windows. Its too time-consuming in the latter.
linuxoracle34.jpg
Thanks to Locutus for making this post. Its a great eye opener.

Here's what I think the whole text should be as I've modified a few lines..

It all comes down to how linux and the file system handles files. When linux runs an executable it loads the whole file into buffers in clusters (which is a technical term, it's typically 4k, but you can set it when setting up your filesystems) 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.

When you open a file, the kernel follows the link, and assigns the inode a file descriptor (a number that it keeps track of internally). When you delete the file, you are "unlinking" the inode; the file descriptor still points to it. You can create a new file with the exact same name as the old file after deleting it, effectively "replacing" it, but it will point to a different inode. Any programs that still have the old file open can still access the old file via the file descriptor, but you have effectively upgraded the program in place. As soon as the program terminates (or closes the file), and starts up (or tries to access it again), it accesses the new file, and there you have it, a completely in-place replacement of a file!

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.


No Need to Reboot in Linux for Software Upgrades or Installs source

1 Comments/Trackbacks




Thanks a lot for the glowing review. I am glad that you found it useful.

submit a trackback

TrackBack URL for this entry:

post a comment

Name, Email Address, and URL are not required fields.





Comment Preview

« Reducing the Cost of Your Printing | Main | Springwidget, widgets for the web and internet »

Advertise


Related Resources

Advertise Here

sponsored ads



subscribe


Prefer Email?
Subscribe below-

Enter your Email:


Powered by FeedBlitz What's this?

Current News

Support This Blog

business social media

Use these fast growing business social media sites to promote your business, feature your products, spotlight your business leaders, create links, and drive traffic back to your company site, all for free!

BIZZlogos - Add your logo - free link to your site
BIZZphotos - Add photos of your products and people
BIZZprofiles - Submit your profile and build your online visibility
BIZZspotlight - Spotlight your business with free links
BIZZvideos - Videos about businesses, products and business people.
BIZZbites - "Digg" for Business - Submit your articles and posts

know more media network

View Network Map

Network Feed List (OPML)

Know More Media Network
Feed


we support unitus

PRWeb

Influencer



ITechTips is a member of the Know More Media network of business related blogs.

Here are some current headlines from some of our business publications:

ProductivityGoal

CallCenterScript

AdHurl

TheBizofKnowledge

LandingTheDeal

CustomersAreAlways

HealthCareVox

BrainBasedBusiness

TheInsurancePolicy

MarketingBlurb