LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-18-2006, 08:24 AM   #1
Haz2a
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
Question Is /home ever touched by upgrades or updates?


Do software updates or distro upgrades ever need to access /home? I know its best to umount /home when reinstalling, to protect all the user configs and data there, but I'm not sure if it would cause any problems to umount it whilst upgrading/updating.

Haz
 
Old 10-18-2006, 08:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
if /home is a seperate partition then yeah you should unmount is across installs, but if you're not formatting anything as part of the upgrade then no, there's no change that will be done to /home.
 
Old 10-18-2006, 08:56 AM   #3
Haz2a
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Chris, thanks for your comment.

I mean just ordinary distro-upgrades or software updates, eg: via Synaptic or Update Manager, where (I hope) no partitions get formatted.

So just to confirm - no files in /home will ever be added/removed/changed during these upgrades/updates?

So I could umount /home without any risk of an incomplete upgrade/update?

Regards
Haz
 
Old 10-18-2006, 09:13 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you'll be totally safe. any files that would be updated, e.g. ~/.bashrc would normally be copied from /etc/skel on user creation, and it'd be those files that would be updated.
 
Old 10-18-2006, 09:53 AM   #5
Haz2a
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
"any files that would be updated" - if /home were mounted during and upgrade -
"e.g. ~/.bashrc would normally be copied from /etc/skel on user creation, and it'd be those files that would be updated."

Just to be clear, are you saying that an upgrade would only change the config for 'home' files in /etc/skel, and never change existing home files like ~/.bashrc? - so any changes made by the upgrade that affected a home file would only be effective for new users and not for existing users?

Regards
Haz
 
Old 10-18-2006, 10:44 AM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
I make it a habit to put any config files I manually edit under source code control. Whether they're under /home or /etc. That way I can see what a config used to be (before an upgrade) or restore a previously-working config that I manually borked up myself.

Pretty simple, really. The first three steps below are only required once, then the last three are how I go about updating my "/etc/fstab" (in this example). Check it out with "co", edit it, then check it back in with "ci". You end up with a running audit of everything you've ever done to the file, and can restore any previous version as needed.
Code:
# cd /etc
# mkdir RCS
# ci -i -u fstab
# co -l fstab
# vi fstab ...
# ci -u fstab
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
high-tech bolts and latches, which can be operated without being touched Envision5000 General 2 03-31-2006 10:24 PM
synaptic 0.57.5 breaks; latest unstable, watch updates & upgrades Nix_Hard MEPIS 1 10-06-2005 08:55 PM
Managing security updates and upgrades arobinson74 Slackware 8 10-19-2004 08:16 AM
HELP! I have never ever touched a Linux Systems B4 zfraz Mandriva 2 10-05-2004 04:36 PM
about upgrades christyc Linux - Newbie 2 01-19-2002 10:40 AM


All times are GMT -5. The time now is 09:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration