A Conversation for The H2G2 Programmers' Corner
Linux/X11 - A Cry for Help
26199 Posted Jun 19, 2002
Er... which file viewer?
It's getting embarrasing, I can't find a readout of space remaining anywhere...
Linux/X11 - A Cry for Help
MaW Posted Jun 19, 2002
Some file managers probably do it, I don't have a clue though as I only use a graphical one occasionally. The easiest thing to do is to go to a terminal window and type
df -k
Which gives you a list of all your currently mounted partitions and how much space there is left on them in kilobytes. If you don't specify the -k, you could get the readout in something odd - the default seems to usually be kilobytes on Linux, but on Solaris it's 512-byte blocks (i.e. half-kilobytes), which is odd...
anyway, it may look something like this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb2 23574708 7159988 15217168 32% /
tmpfs 1024 132 892 13% /mnt/.init.d
/dev/hda3 4909804 1061204 3848600 22% /home
/dev/hda5 5002452 4797252 205200 96% /mnt/babelfish
/dev/hdb3 15024160 8999680 6024480 60% /mnt/megadonkey
(only neater, because it'll be displayed in a fixed-width font)
Linux/X11 - A Cry for Help
26199 Posted Jun 19, 2002
Thanks
As I suspected, I only have 50Mb left
Not really much spare to be running a modern OS on...
I can either clear off some junk... attempt to repartition things so's Windows doesn't have so much of the space... or go out and buy a hard disk 'specially for Linux. Hrm.
Tricky. D'you know of any partition managers for Linux that'll repartition non-empty partitions without killing 'em?
I might just get a new hard disk though, it can't hurt...
Linux/X11 - A Cry for Help
MaW Posted Jun 19, 2002
Have a look at GNU Parted. It can do that kind of stuff to a certain extent, although make sure you read the documentation very carefully to make sure you know where the instabilities are and what you can do without losing data!
Linux/X11 - A Cry for Help
26199 Posted Jun 19, 2002
Thanks... I've downloaded it, looks pretty good... although I figure I'll wait until I'm feeling a little more awake before playing with it
It certainly looks nicer than what I used to resize my Windows partition in the first place...
Hmm. D'you happen to know of any good websites for Linux newbies such as m'self? Then maybe I could stop asking so many questions
Linux/X11 - A Cry for Help
some bloke who tried to think of a short, catchy, pithy name and spent five sleepless nights trying but couldn't think of one Posted Jun 20, 2002
How about http://www.linuxnewbie.org
But if you are wanting to ask questions on H2G2, the LUG might be better ( A458228 )
Linux/X11 - A Cry for Help
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jun 20, 2002
btw, 512 bytes is the number of bytes per sector on most disks, then you have 4 sectors per cluster (In windows) or in linux I think they have 8 sectors be chain link. although I know more about FAT and FAT32 then EXT2 and EXT3.
hmmm....
-- DoctorMO --
Linux/X11 - A Cry for Help
MaW Posted Jun 20, 2002
Ah yes of course, there's usually a logical reason for most things...
Linux/X11 - A Cry for Help
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jun 21, 2002
Usualy, You want to try the logic behind FAT12, it's a pain.
Try and create more that 200 directories on a floppy disk.
-- DoctorMO --
Linux/X11 - A Cry for Help
MaW Posted Jun 21, 2002
Ah, but FAT12 was designed by Microsoft, was it not? Expecting logic there (or rather, logic which isn't twisted and based on something totally arbitrary and pointless) is pushing things a bit I think.
Linux/X11 - A Cry for Help
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jun 22, 2002
The Microsoft FAT systems and even NTFS, has some realy BIG flaws and linux could stamp all over it, if windows suported EXT3. Damb.
-- DoctorMO --
Linux/X11 - A Cry for Help
MaW Posted Jun 22, 2002
Ah, that would be good... I love ext3!
* is running / and /home partitions on ext3 at the moment, with two more FAT32 and another NTFS *
Linux/X11 - A Cry for Help
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jun 24, 2002
Have you got a Quad Boot like me?
sounds like my home Hard disk.
-- DoctoRMO --
Linux/X11 - A Cry for Help
Alex 195614 As everyone else seems to like incredibly long names I keep mine ironically short. Posted Jun 24, 2002
Docter Mo I do not want to yikes you but you have placed an offensive word in post :6
please have it removed
I belive it contravines with house rules
but I also belive you did not know that and that you sound to usefull to the comuunity to loose axess 4 a while
Linux/X11 - A Cry for Help
26199 Posted Jun 24, 2002
Alex - the rules aren't actually that strict... it's debateable as to whether using 'b*gg*r' is against the rules at all... and if it is, all that'll happen is the moderator will add stars like I just did there.
You can hit the yikes button if you are offended - it's not a big deal.
But Doctor Mo can't go back and edit the post himself...
Linux/X11 - A Cry for Help
MaW Posted Jun 24, 2002
DoctorMO, no, I'm only dual-booting. I've only got 60GB of disk space, no room for four OSes!!
Linux/X11 - A Cry for Help
some bloke who tried to think of a short, catchy, pithy name and spent five sleepless nights trying but couldn't think of one Posted Jun 25, 2002
You're not trying. I have four OSs on a 10GB hard drive. (Admittedly, two of which I hardly ever use)
Linux/X11 - A Cry for Help
26199 Posted Jun 25, 2002
I had a really annoying problem last night... maybe you've had this one before...
Freakily disappearing hard disk space... I clear some space, a few seconds later, it's gone again...
Prod about a bit... what's this... .xsession-errors, 500Mb?
It turns out Wine likes to produce a lot of non-fatal error messages
For now it's being a copy of /dev/null, until I can be bothered to figure out a better solution...
Linux/X11 - A Cry for Help
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jun 25, 2002
what 4 OSs have you got?
I got... DOS6.22/Win3.1 - Win98 - WinXP - Linux (Suse 7.3)
Thats on a 20GB Hard Disk, and because Win98 and WinXP share the same hard disk, they have 10GB between then loads of space, (for thoughs of us who remember fitting windows 95 on a 100MB hard disk Not too hard).
-- DoctorMO --
Linux/X11 - A Cry for Help
MaW Posted Jun 25, 2002
I've just got Gentoo Linux (it was 1.1a when I installed it, but I think I've updated to 1.2, may have missed out a few core package of that, but it's not really a problem... will worry about that when I've got broadband and can download the new versions without sitting about all week) and Windows XP Pro. I seem to be a bit of a disk space hog...
Key: Complain about this post
Linux/X11 - A Cry for Help
- 21: 26199 (Jun 19, 2002)
- 22: MaW (Jun 19, 2002)
- 23: 26199 (Jun 19, 2002)
- 24: MaW (Jun 19, 2002)
- 25: 26199 (Jun 19, 2002)
- 26: some bloke who tried to think of a short, catchy, pithy name and spent five sleepless nights trying but couldn't think of one (Jun 20, 2002)
- 27: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jun 20, 2002)
- 28: MaW (Jun 20, 2002)
- 29: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jun 21, 2002)
- 30: MaW (Jun 21, 2002)
- 31: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jun 22, 2002)
- 32: MaW (Jun 22, 2002)
- 33: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jun 24, 2002)
- 34: Alex 195614 As everyone else seems to like incredibly long names I keep mine ironically short. (Jun 24, 2002)
- 35: 26199 (Jun 24, 2002)
- 36: MaW (Jun 24, 2002)
- 37: some bloke who tried to think of a short, catchy, pithy name and spent five sleepless nights trying but couldn't think of one (Jun 25, 2002)
- 38: 26199 (Jun 25, 2002)
- 39: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jun 25, 2002)
- 40: MaW (Jun 25, 2002)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."