LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2003, 05:19 AM   #1
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Rep: Reputation: 15
Post lots of different questions


Hello!

1) I've got Windows 2000 on my computer and I would like to browse it's partition, but I don't know how. I know that I must mount it first, but in /dev/ I've got lots of hda*, and I don't know which one is my win partition.
2) During the installation, I included lots of packages that I now realise I don't need. I would like to shorten the boot time, and to remove the demons and programs that start, and I don't need them. How do I do that? Are there any HOW-TO's or docs about deamons?
3) This is a programming quesiton, but I'll post it here, hope you forgive
When I compile my programs, and I include, say, math.h, I must compile it with -lmath, or if i compile programs with ncurses.h, I must do it with -lncurses. But way don't I need to do the same with stdio.h or stdlib.h ?

Thanks in advance
 
Old 11-09-2003, 05:28 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Answer to question 1:

In a terminal window type
su
and your root password.

Then run fdisk:
/sbin/fdisk /dev/hda
Press p to print your partition table.
Press q to exit.

Be a little careful when using fdisk. You could mess up your computer badly if you start playing around and don't know what you do.

Regards
Martin
 
Old 11-09-2003, 05:36 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just do 'fdisk -l' - hard for anything to go wrong there, and it'll show all your disks if you have more than just hda.

2. Check out tldp.org - I'm sure they've got something for you. I don't know how RH works, but it's probably some scripts (or links) in the /etc/rc.whoozits directories you need to 'chmod 600' or whatever to make them non-executable.

3. Dunno - the first are in weird places and the rest are automatically found? /me is programming challenged.
 
Old 11-09-2003, 05:44 AM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Question 3:

The '-lXXX' option to gcc means link with library XXX. When you use functions from ncurses.h you need to link with libncurses.so.

The functions from stdio.h and stdlib.h are in the (huge) glibc library. That library is always used by default (unless you give the compiler option -nodefaultlibs).

Martin
 
Old 11-09-2003, 05:49 AM   #5
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Question 2:

On your RedHat system: try (from the Start menu) Server Settings > Services

Martin
 
Old 11-09-2003, 03:45 PM   #6
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Original Poster
Rep: Reputation: 15
Thumbs up

thanks a lot, all of you !
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lots of questions istratos Conectiva 4 10-12-2005 10:30 AM
Lots of questions sumedhk Linux - Newbie 3 01-27-2005 04:21 AM
Lots of questions joshbates Linux - Newbie 0 06-09-2003 04:19 AM
Lots of questions.. Xploder Linux - Newbie 2 07-22-2001 08:40 PM
Lots of questions Carrot Linux - Newbie 4 04-08-2001 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:23 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