- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Where do you place your graph files? ...and root h...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 04:45 PM
10-02-2003 04:45 PM
I know it's irrelevant where you place your graph files (fbackup) but I would like to know, where do you usually place them?
I'm trying to place things on their "appropiate" place following Unix filesystem standards. I've seen many examples where people place them in /tmp.... which I don't think it's appropiate. What do you think about /var/adm/graphs ?
Also, do you think the root user should have a home dir other than /? In Linux, the root user home usually is /root. I know I can change root's home from / to /root but...I wonder why HP-UX does it this way? Any good reason for having root's home in /?
Thanks in advance,
Jorge Fábreg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 04:58 PM
10-02-2003 04:58 PM
Re: Where do you place your graph files? ...and root home?
Graph file is the configuration file for and in unix /etc is the directory holding all configuration files.
A good idea would be to create a directory under /etc and keep all your graph files for fbackup there.
Even i am not sure why by default root doesn't have /root as home. But its a good indea to have a separate home directory of root than using "/".
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 04:59 PM
10-02-2003 04:59 PM
Solution/usr/local/backup
/usr/local/backup/log (log files)
/usr/local/backup/etc (graph files)
/usr/local/backup/bin (scripts)
I don't see any problem with using /var/adm as a hierarchy directory tree.
Yes I believe that / should not be used as 'root' home directory. Generally the recommendation is to use /root which is stil under / but you can limit who goes in there by ther directory permissions (700).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 05:09 PM
10-02-2003 05:09 PM
Re: Where do you place your graph files? ...and root home?
/var/adm is mostly used for logs and other things that are mostly used by administrators.
It makes more sense to have the graph file in /etc directory.
However, if u r referring to the backup of the graph files, it is better if it is in your usual backup dir (usually this is in the filesystem which has more space).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 07:10 PM
10-02-2003 07:10 PM
Re: Where do you place your graph files? ...and root home?
It can be a very bad idea, as some sysadmins here found out.
They had a cleanup script which sent something like:
cd $CLEANUPDIR
rm -r *
AS you might guess, one one occasion, CLEANUPDIR was set to null, the root script cd'd to "/", and trashed the entire filesystem. If roots home had been "/root", only a handful of files would have ben trashed.
Moral of the story - always move root home away from its default of "/".
-- Graham