LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-04-2005, 07:36 PM   #1
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Rep: Reputation: 15
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?
 
Old 08-04-2005, 08:10 PM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Is it in your /etc/fstab?
 
Old 08-04-2005, 09:29 PM   #3
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
I vi-ed fstab and no, /hda7 was not there.

Should I manually add it there?
 
Old 08-04-2005, 09:47 PM   #4
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
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).
 
Old 08-04-2005, 10:33 PM   #5
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 08-05-2005, 10:46 AM   #6
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
The risk level for editting the fstab is pretty low, right?
 
Old 08-05-2005, 06:49 PM   #7
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
I just did it and it worked. There's swap spaceon gKrellm.

Thank you so much.
 
Old 08-05-2005, 11:44 PM   #8
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cfdisk cannot partition /dev/hdf on pci-ctrlr hansdampf Linux - Hardware 2 12-07-2004 08:57 PM
my dvd device is listed as /dev/Hdc Kilahchris Linux - Newbie 5 05-02-2004 11:08 PM
Multiple /dev/hda1 's listed after a 'df' command (up to 50-60) hmschouten Linux - General 4 04-02-2004 03:07 PM
dvd listed as /dev/cdrom1 tfdml37 Linux - Hardware 2 03-21-2004 01:36 AM
/dev/agpgart listed as not functioning. weblion Linux - Software 3 11-06-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration