LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-25-2015, 04:03 PM   #1
Can-ned Food
LQ Newbie
 
Registered: Apr 2015
Distribution: GNU→TT
Posts: 7

Rep: Reputation: Disabled
Question Looking for comments on a replacement for /home


Sure, you can just go and keep mounting to '/home/.', but as I'm expanding the definition to include all files related to usage data — i.e., files which would need special attention when migrating to a different system —, which features stuff previously contained in '/home/.' but also would include some content previously placed in '/etc/.' or '/var/.'.

My best choice thus far is '/uden/.', which refers to ‘usage den’, but I wonder what others would think of that.
What do you think of that, or what would you suggest?
 
Old 11-25-2015, 04:13 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
A common location used for many application installations has been /opt. Some 3rd party apps put things there by default. Typically you'd want to make that a separate filesystem so application data doesn't fill up your root filesystem.

However, you really can make your own directory structure for applications.

Be sure you know what your app is creating though. There are some (e.g. Oracle) that will put small files in /etc or /var even though the bulk of what they do installs where you tell it.
 
Old 11-25-2015, 05:05 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
How about /data ?
 
Old 11-25-2015, 05:20 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
man hier - keep your system standards compliant.
 
Old 11-26-2015, 08:11 AM   #5
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Hello,

Personally I currently leave /etc, /var, /home where nature originally intended and simply add an additional drive to my system and use that as a backup device. So simply put mount the secondary disk at the required location and via a weekly cron copy the files to that device, i.e.

Code:
find /etc | cpio -pdmuv /media/MountLocation (copies data to /media/MountLocation/etc/....)
find /var | cpio -pdmuv /media/MountLocation (copies data to /media/MountLocation/var/....)
find /home |cpio -pdmuv /media/MountLocation (copies data to /media/MountLocation/home/....
Using the above you have a nice simple way of maintaining your directory structure, file permissions, etc of the data on the secondary device.

Regards,

Rawcous
 
  


Reply

Tags
directories, file descriptor, gnu, paths



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
Linux server died, advice on replacement hardware (home use)? legacyprog Linux - Hardware 4 07-04-2014 03:06 PM
Requesting feedback for Windows alternative/replacement for home PC stees Linux - Distributions 5 10-26-2008 11:39 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Looking for Windows Home Server replacement using LVM2 elroacho Linux - Software 1 04-11-2008 05:38 PM
Put a 2nd kanotix at hdb 3/,-4/home. 1st is at hdb8/,-9/home.#2 is using 1st's /home sleekmason Linux - General 3 12-09-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:37 AM.

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
Open Source Consulting | Domain Registration