Slackware :: Tell If Have 'garbage' In Root Partition?
Mar 7, 2011
My root partition /dev/sda1 is 24.41 GiB with 10.48 GiB used. How can I tell if I have inadvertently placed a bunch of garbage on this partition? Also, should I, and I use the term loosely, 'move' certain directories to my home partition /dev/sda3? (118.77 GiB with 3.14 GiB used)
Right now I believe that, rightly or wrongly, if I screw up my system, all I need to do is install my Clonezilla image back to /dev/sda1 and I will have a 'mostly' working system. If I 'move' anything out of /dev/sda1 to /dev/sda3, will this hold true? Or am I out to lunch on this assumption anyway?
View 14 Replies
ADVERTISEMENT
Mar 5, 2010
When i pipe commands through 'less' in console, i get a load of garbage mixed into the results, and no colors either. Mainly the letters 'Esc' printed a couple of times on each line.
I had been messing about with my bash config files but i can't see anything in there to affect this. If I pipe through 'more' there is no problem, only 'less'.
View 11 Replies
View Related
Feb 27, 2015
After some years using OS X, I'm returning on Debian on my Macbook Pro in single boot.
I've bought a Samsung SSD (850 EVO 500Go) in order to replace the slow built-in HDD.
But I've earned about the need of repartition of writing operation on that kind of drives, and I'm concerned about swap partition.
I need swap (especially for Darktable, browsers and maybe Steam games), but I wonder if the usual swap partition (even with discard mount option) is really recommandable for SSD drives.
Actually, on Debian wiki and others, the usual recommandation is "if you have enough RAM, don't use swap or minimise swapiness to 1", but using of swap file is not mentioned.
Indeed, if I have only one "big" partition on the SSD drive and TRIM activated, the garbage collector (low level) built in chipet's SSD will optimize SSD life, but I don't know how the low level garbage collection works with multiple partition.
So there is my questions :
- Will SSD garbage collection will preserve the disc use even if I have a 2GB swap partition ?
- Will I'd use a swap file instead of swap partition (I don't really need to hibernate) ?
View 14 Replies
View Related
Jan 31, 2010
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
In case you're curious, here's my /etc/fstab:
Code:
View 14 Replies
View Related
Oct 12, 2010
Since I installed MS2 I messed up grub. Finally I got 11.3 back to its old glory.
What would be the best procedure to create a backup image with all settings and permissions ...just in case ?
View 5 Replies
View Related
Feb 7, 2010
I have finally been convinced to partition my 500GB hard drive from a two partition setup with root and swap to a three partition setup with root, swap, and home. I found a nice tutorial about how to do this, but here is my question:
A) How much space do I leave for the root partition and the home partition?
View 7 Replies
View Related
Aug 31, 2010
when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.
View 14 Replies
View Related
Jun 8, 2010
I initially installed SuSe11.2 with /tmp mounted on separate partition on another physical disk( there are two physical disks). Now I want to attach disk with existing SuSe11.2 to another motherboard so I would like that /tmp becomes part of the root partition. Will deleting /tmp mount point in /etc/fstab create automatically new /tmp from root at next startup, or something else has to be done to achieve, that in future, /tmp resides on root partition instead? In this way it would be much easier to move the disk with SuSe11.2 to another motherboard.
View 3 Replies
View Related
Aug 2, 2009
I am relatively new to Linux and Opensuse. I created the / root partition and now it is growing and maxing out. I have partitioner available to me but how do I change the partition size when the root partition is mounted. Do I login as root and then umount or modify fstab and restart and change from command line or do I format and reinstall everything? I have room to expand but not sure how to manage this?
View 4 Replies
View Related
Dec 29, 2010
I'm slack 13.1, I am trying to install it, but always gives an error. I type cfdisk and appears this error:
Fatal error: bad primary partition 2: Partition ends in the final partial cylinde Press any key to exit cfdisk
View 14 Replies
View Related
Apr 24, 2010
Everything is installed and setup on my system, but when I setup my partitions I chose my Windows partition to be bootable. Can I just use cfdisk to toggle the bootable flag so my linux partition is bootable and rewrite the partition table?
View 2 Replies
View Related
Mar 26, 2010
I'm trying to samba share my NTSF partition in slackware 13. I chose for root to have read/write access only.
How can I change this to allow samba share for my regular non-root account?
View 1 Replies
View Related
Jan 16, 2011
How do i re size my Slackware partition without deleting it and starting over, I'm new to Slackware and the work i have done i don't feel like doing again.I have set my swap and my actual HDD partition for Slackware to +8048M, I am correct in saying that fdisk can only delete and start fresh, I was a Ubuntu/Fedora user if i could get something like Gparted up that would be great but i don't mind some reading and learning some more terminal based stuff.Planning on working out the kinks and dealing with the learning curve, Love to learn.
View 12 Replies
View Related
Jan 7, 2010
I was wondering if it is possible to have a garbage collector in C, and would it be too difficult to create?
View 1 Replies
View Related
Mar 4, 2010
Code:
char retBuffer[100];
recv(sock , retBuffer ,sizeof(retBuffer) , 0);
if i send a string smaller then my buffer size retBuffer always have garbage of the end of it....what can i do to eliminate tis problem ?
View 2 Replies
View Related
Aug 27, 2009
I'm interested in writing a generational garbage collector in C++. This is for a Python-like programming language project. I have used Boehm's garbage collector before, but I'm worried that it will have noticeable pause times (unacceptable for interactive programs). Since I can't really find any other C++ established GCs out there, I have been thinking of simply writing my own.
However, there are two essential ingredients I need for this:
- Some kind of write barrier mechanism that will notify my collector when something is written to a part of the heap
- A way for me to know the addresses and sizes of the stack, heap and global storage (the root sets)
how to implement write barriers (and how to get the stack, heap and global storage information) on the Linux platform? As an alternative, if you know of C++ GCs other than Boehm, I would also be interested.
View 14 Replies
View Related
Mar 5, 2011
if I open Yast2 via SSH I see the garbage (code page related issue; similar to this). If I set some other than UTF-8 in PuTTY (KOI8-U, iso-8859 etc) Yast looks good, but then the same problem appears with Midnight Commander. How can I have Yast to use 'right' UTF-8 instead of any legacy code pages? Or how better deal with the situation?
View 2 Replies
View Related
Mar 25, 2010
I've setup a git-svn repo with cron to fetch from the svn repo daily. I have a script to do the fetching, and this is what is invoked by cron. Everything is fine with the repo, and the script works fine when executed manually. However, when it runs under cron, empty files get dropped into the .git directory. The files have names that look like they are some base64 output, e.g. juTrvjP6m8 and kcKf3hu3b4. Two of these files show up for every cron run. I thought these might be commit hashes, but they're not, git-show says it's an unknown revision. I set-up the repo as follows:
[code]...
The last line pushes the repo to a separate (bare) public repo from which others can clone. I'm piping the output from the cron job to a file, which looks like this:
[code]...
The line "fatal: unable to run 'git-svn'" is alarming, but the fetch seems to go ahead anyway. Where are these empty garbage files coming from, and how to stop them? Am I in for bigger problems in the future?
View 1 Replies
View Related
Jan 6, 2010
I am trying to get a new box up. It has XP on one HDD. There is a second HDD, upon which I want to install Ubuntu and dual boot. My problem is that my CD drive is garbage and won't run the installer. Nor do I have any flash drives. Is it possible to install directly from Windows but not "within Windows" persay? If so, how is this done? (I do have Daemon Tools.)
View 2 Replies
View Related
Jan 23, 2010
I have installed scim and anthy. Most Japanese characters display, but some websites and files show garbage characters. Is there any way to resolve this?
View 1 Replies
View Related
Apr 30, 2010
With 10.04 final i still have the issue with a very distorted screen. Works with RadeonHD driver but performance is utterly crap so no good solution. Also when adding new panels they become invisible and only a logout and login makes them visible around the border. Errors somehow related? How do i file a bug report?
View 1 Replies
View Related
Nov 1, 2010
I have installed scim and anthy. Most Japanese characters display, but some websites and files show garbage characters.
View 1 Replies
View Related
Nov 2, 2009
Inherited an old Laserjet 6P that was working fine XP. No matter which printer driver I use all I get are pages and pages of garbage during the test print. I have tried the hplip, gimp, ljet4 drivers without success. I have tried sending text files from the command line as well (cat /etc/passwd > /dev/lp0) with the same result.
Fedora 11 64
cups 1.4
hplip-3.9
hpijs-3.9
Anyone using this printer with cups 1.4? Any ideas which driver to use?
View 4 Replies
View Related
Feb 9, 2011
I actually have two reasons for posting this. One is to see if there's an actual name for characters like this:Hopefully that will show up correctly for you. If not, it's a little box with four numbers in it, one in each corner. I don't know their name or their reason for showing up, so it's hard to look for help.
My main problem, though, is that I wrote a program that prints some output to a console using ncurses as it runs. These characters show up on the console, seemingly at random, and disturb the whole thing. Sometimes I'll also get sets of characters like "[13;" I'm not printing anything bizarre on there, just strings and floating-point numbers.
View 6 Replies
View Related
Jul 21, 2010
The code below prints garbage if I use puts() but it is fine if I use printf() instead (see sample of output at the bottom of this post). The odd thing is that the mess always starts after exactly eight properly printed characters. That sort of regularity can't be a coincidence, can it? It almost looks like an encoding issue (I'm using UTF-8) but if it really is, then I don't understand why the printf() is unaffected.
Code:
#include <stdio.h>
#include <string.h>
const char *nChars (const char *, int);
int main (int argc, char * argv[]){
char * name ="Count Dracula++";
int len = strlen(name);
if (argv[1] == 0) argv[1]="printf";
printf("--->%d characters", len); .....
View 9 Replies
View Related
Feb 13, 2009
Is there any repo to get xserver fixed packages?? see [URL]..
View 2 Replies
View Related
Dec 8, 2009
Am running OpenSuSE 11.1 / KDE 3.5 on an Acer Aspire 4730Z laptop. Garbage is displayed on the screen just before and just after the login screen. The garbage sometimes includes vestiges of the taskbar. Suspect some video buffer is not being correctly initialized.
View 1 Replies
View Related
Mar 28, 2011
i installed 11.3 with kde on my wife's computer a couple of months ago, and i am slowly trying to fix the holes in the installation. things that she "can't live without". now i am working on flash. videos and other flash videos in the browser are all jerky, with very poor playback quality as a result. the playback skips forward a couple seconds, then pauses. this appears to be exactly like a bandwidth issue - but it is not. bandwidth is fine, and allowing the vid to download completely before playing makes no difference. i uninstalled all flash stuff, then reinstalled from a standard repo selection that included packman. pretty much oldcpu's recommended list of repos. no change. i've spent hours searching and reading threads, trying to find a gold nugget. one said delete ~/.macromedia and ~/.adobe. did that. no change.
update everything. no change. reboot. no change. somebody mentioned he was having a firefox specific issue with similar symptoms. i try chrome. no change. some ppl seem to connect flash misbehavior with vid driver issues. this box has an ati onboard gpu - ati radeon xpress 200. so i spend some time looking through some threads i turned up regarding updating that - but this leads me to more searching and no answers. i don't know how to tell what driver i have installed for ati, i don't know how to find the kernel config file to see if ati has been built in, and more.
View 6 Replies
View Related
Apr 20, 2011
Booted up my machine today and when I started x windows, the first dialog box came up fine and then the gui components turn into garbage characters and I then I lose control of the gui and have to reboot.I'm running Centos 5.5.I'm wondering how to diagnose this. Is this a hardware problem of a configurationproblem? Is there a way I can set the video settings back to default values?
View 1 Replies
View Related
Jul 28, 2009
Just recently got a few printers connected to the network at my shop and I've managed to get them connected in with samba for the linux clients. Whenever I try to print from one of the clients, the printer will click on and whiz away, but only prints on the first page stuff that looks like this:
Code:
%!PS-Adobe-3.0
%%BoundingBox: 38 24 574 768
%%Title: Enscript Outpu
%%For: User N
It seems to me that the printer isn't processing the postscript data properly (or I'm just not sending it in the right format) but I'm at a loss as to how to go about fixing it.
View 4 Replies
View Related