Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-04-2005, 07:36 PM
|
#1
|
Member
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113
Rep:
|
Listed partition in cfdisk, but not listed in /dev?
I am trying to make the remaining unused 280mb of space on my hard drive swap space.
It is listed as hda7 in cfdisk. There are no flags, it is logical and of filesystem type Linux swap / solaris.
However, hda7 does not exist in /dev. So, I can't even use mkswap.
What's funky?
|
|
|
08-04-2005, 08:10 PM
|
#2
|
Member
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Rep:
|
Is it in your /etc/fstab?
|
|
|
08-04-2005, 09:29 PM
|
#3
|
Member
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113
Original Poster
Rep:
|
I vi-ed fstab and no, /hda7 was not there.
Should I manually add it there?
|
|
|
08-04-2005, 09:47 PM
|
#4
|
Member
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137
Rep:
|
As long as it is formatted as swap (I believe you said it was), then yes.
I think the way it would be written is...
/dev/hda7 swap swap defaults 0 0
or something very close to that (this is mine, minus the hda7).
|
|
|
08-04-2005, 10:33 PM
|
#5
|
Member
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Rep:
|
Quote:
Originally posted by volvogga
As long as it is formatted as swap (I believe you said it was), then yes.
I think the way it would be written is...
/dev/hda7 swap swap defaults 0 0
or something very close to that (this is mine, minus the hda7).
|
Yes, this should solve it.
|
|
|
08-05-2005, 10:46 AM
|
#6
|
Member
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113
Original Poster
Rep:
|
The risk level for editting the fstab is pretty low, right?
|
|
|
08-05-2005, 06:49 PM
|
#7
|
Member
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113
Original Poster
Rep:
|
I just did it and it worked. There's swap spaceon gKrellm.
Thank you so much.
|
|
|
08-05-2005, 11:44 PM
|
#8
|
Member
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Rep:
|
No problem 
Just to make sure you know, fstab means "filesystem table," and tells your box what filesystems are available, and where to put them when they're called for. This file, in concert with mtab, or mounted table, is how Linux handles mounting and unmounting filesystems.
Last edited by Charred; 08-05-2005 at 11:50 PM.
|
|
|
All times are GMT -5. The time now is 06:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|