Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can't format it, its a virtual memory filesystem. Its only taking up space most likely on your / directory if there is no partitioned space specifically setup for it on your hard drive, in which I doubt you created when you installed Linux.
I'd suggest leaving it alone, or you can mess up your system if its actually being used right now, as you can see space taken up with it.
AFAIK tmpfs or shm only uses memory, so no files should be created on disk. If you "grep /proc/mounts -e tmpfs" you should see it's not a mounted partition. See "find /usr/src -name tmpfs.txt".
Nah, that's a little misleading. The device is actually none - it's not actually there. Like /proc. More relevant - do cat /etc/mtab and you'll see physical /dev devices and "none" mounted on /proc and "tempfs" on /dev/shm. But "/dev/hda1" on /, say. Only /dev/hda1 and the like are real things, sort of.
So that means that now I cannot use this 1 GB of FREE space. I am really surprised when and where did Linux come to know that it has to "use" this space. I left this space specifically for formatting to FAT 32 System
Well, it's weird it's saying "none". What does "grep /proc/mounts /etc/fstab -e shm" say? Can you write to /dev/shm (say copy an unimportant file and back)? Btw, 94808 is aprox 94MB. Dunno where you got the 1GB from.
Well when I load the Red-Hat Hardware browser it shows that I Have 965 MB (this is MB..I am dead sure) FREE soace with NO device....
SO here is a conflict between df and redhat hardware browser.
Here is the result of :
*******************************************************
grep /proc/mounts /etc/fstab -e shm
****************************************************************
/proc/mounts:none /dev/shm tmpfs rw 0 0
/etc/fstab:none /dev/shm tmpfs defaults 0 0
***********************************************************************
I wonder whats wrong and where
1)df DOES NOT SHOW the FRee space
2) RH Hardware browser DOES NOT show the /dev/shm device(space, whatever)
Hopefully this information will be useful for the gurus to solve my problem
Originally posted by chem1 OK...here is an important piece of Information
1)df DOES NOT SHOW the FRee space
2) RH Hardware browser DOES NOT show the /dev/shm device(space, whatever)
Hopefully this information will be useful for the gurus to solve my problem
Thankx in advance....
Most likely you just have unpartitioned free space on your hard drive that is not being used.
What does fdisk -l show you? Anything about that unpartitioned space and what device it is, ex. /dev/hda8 or something like that? If so, you shouldn't have any problems creating a partition and formatting a filesystem onto it.
tmpfs uses /dev/shm ......... somewhat like cache but from what i read here (which i GOOGLED for) its not neccesary ( http://www.luci.org/luci-discuss/200204/msg00015.html has the info i
read if you would like to read it.........
as far as repartiioning it now that you have windows and linux already on your drive ......i dont think it will happen the way you want it (between) linux and windows but i could be wrong ......depending on the partitioning software you are using.
I tried something similar a while back and everytime i tried the partiton always ended up at the end of the drive........the only way i could get it to work was if i completely formated my hd and partitioned it the exact way i wanted before i installed the OS's
again like i said I could be wrong so maybe read or GOOGLE a little bit more before you take any advice......
I have tried...but the strangest thing is that except for PartEd..there seems to be no other useful program for managing partitions in Linux. the GUI for PartEd , qtParted...does NOT intstall on my mcahine....things go sour when I say 'make' and all sort of goofy messages appear. This is one thing that I have ben yelling about in the Linux GEneral forum that there should be be better ways of installing things. Unfortunately I was confronted with unexpectedly high resistance by Linux gurus. No wonder, if Linux is made easy then who will ask the gurus.....Catch-22 eh.
Nevertheless, I will keep up my search for better partition tools and will duly post the resolution once I get one.
I have exactly the same problem. I shrunk a Windows FAT32 partition for allocating the free space to an already existing ext2. Now I have about 10GB that I can't use anymore. Partition Magic won't do the job in Windows(2000) and fdisk (both in DOS and linux) doesn't recognize the free space.
Output from $fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2076 16675438+ c Win95 FAT32 (LBA)
/dev/hda2 2077 6283 33792696 c Win95 FAT32 (LBA)
/dev/hda3 7650 7662 104422+ 83 Linux
/dev/hda4 7663 9726 16579080 f Win95 Ext'd (LBA)
/dev/hda5 7663 9472 14538793+ 83 Linux
/dev/hda6 9473 9726 2040223+ 82 Linux swap
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.