|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
doing without X .. what files to safely remove ?
Hi !
I've installed OpenBSD with X but now decided not to use X on the box .. To ensure a clean system what files could I safely remove ? and what additional settings should I perform ? Thank you very much ! |
|
|||
Quote:
...& before you start deleting files, remember that a good sysadmin backs up the entire system before removing large parts of the filesystem. As a bonus, where is the aperature set? Last edited by ocicat; 21st August 2012 at 07:00 AM. |
|
|||
Thank you Ocicat !
Call me stupid or whatever .. I don't know how to answer question1. should backup cover only /etc (and personal data) or something else elsewhere /etc ? The aperture was set in /etc/sysctl.conf to 1 .. then I'd change it to 0. |
|
|||
What does Section 4.1 of the FAQ say?
Quote:
Quote:
|
|
|||
Thanks !
Section 4.1 doesn't seem to inform about .. if untarring x* sets is what you mean , that's not what I was expecting .. I asked about those x* related files that are now useless on an X-less box. |
|
|||
Quote:
|
|
|||
So daemonfowl, what's the difference between a system installed with X, & one without in terms of the filesets?
|
|
|||
This is why you want to do a full back-up of your system before embarking on such an escapade.
|
|
|||
Answering this doesn't mean that all X-related files should go -or stay- only to/within /etc/X11 /etc/X11R6 /etc/fonts ........ hence my question about what to remove exactly without risking a lame OS.
or am I imagining things only ? and that OpenBSD is clean enough to never allow this ? that is : remove /etc/X11R6 & /etc/fonts & /etc/X11 .... et voila My purpose : changing an OpenBSD-as-a-workstation box to an OpenBSD-as-a-server box .. result : a clean OS without the X sec-risks :-) Last edited by daemonfowl; 21st August 2012 at 07:05 PM. |
|
|||
Quote:
Quote:
So daemonfowl, how are you backing up your system? |
|
|||
I'm sorry if I'm too dumb to articulate a point .. I didn't miss tar man .. but wondered whether a particular x set was gonna reach after install to where non x sets dwell .. then no way removing the former without messing the latter .. so I asked as a beginner what particular x files/folders to remove *after install* .. not what a particular x set contains
Quote:
|
|
|||
Quote:
Quote:
|
|
|||
O Daemonforums members , come testify :
Sir ocicat is hijacking MY thread .. it talks X to Xless .. he talks backup Tit 4 Tat my friend .. :-) Actually I need to reread those manpages. |
|
|||
In a sense daemonfowl, I am changing the subject, but the point is very fundamental given that you are taking a suboptimal risky approach to a task which may very well lose important data.
You are pleading for precise information which will guarantee that you will not lose anything important if you decide to rip out a good portion of an existing filesystem. Most will agree that there is risk involved with your venture, & there are no guarantees. I don't know your system. You may not either, but if you want a guarantee, you will back-up everything before starting. That, my friend, is not hijacking. That is covering the fundamental issues which need to be addressed upfront. |
|
|||
Thanks .. I agree with you , Anaxagoras
:-) |
|
|||
Thanks jggimi , for the useful clarifications !!
I no longer autopartition.I create my own slices .. as for graphic applications I'm doing without them on this anti-GUI box that I wish to set as web/ftp server for practice' sake not because I wanna save space.I don't know how to make point4 useful for my case. |
|
||||
Then you may just disable the sysctl and ignore the software. Once you have actually learned how to back up and restore an entire system (something I've recommended to you for many months), you can then make any "practice" software removals you want, make mistakes, restore, and try something else.
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to remove a word and everything after? | bigb89 | Programming | 7 | 31st August 2014 01:47 AM |
How to remove these messages ? | sw2wolf | FreeBSD General | 4 | 11th July 2012 05:04 AM |
How to remove Gnome and X | Malakim | Solaris | 2 | 12th April 2009 12:10 PM |
remove kde and kde dependent apps | ccc | FreeBSD Installation and Upgrading | 2 | 12th May 2008 02:11 PM |