Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Cannonfodder

  1. I understand the allocation issue. Meaning you won't run out of file space as long as you have free sectors. Mac OS does the same thing. However, in terms of speed, I wonder what kind of optimizing they do. If you have a 500 meg file that is split all over, its going to take longer to read that file. If you have all the sectors together, it reads it quick (like to state the obvious *grin* ) . Wonder what those file systems do to prevent that..
  2. Have you tried using webmin to turn services on/off? Just curious... its a really need browser app to manage your linux installation.
  3. You guys tried opera? Is phoenix better?
  4. Also, sometimes you have a missing dependancy, correct it, and then get the same result with ./configure. One safe thing to do is reset the configure step make clean You can also delete the entire directory and untargz it again. Here's a good tutorial on compiling http://www.mandrakeuser.org/docs/basics/index.html#is
  5. Something I typed into the old board recently... Access rights to a partition such as windows fat32 are defined in the file /etc/fstab. This file is processed on boot and each entry defines mounting information for each partition on your hard drives. Here is an example of my fstab file. # Linux partitions /dev/hdc5 / reiserfs notail 1 1 /dev/hdc6 swap swap defaults 0 0 /dev/hdc7 /usr reiserfs notail 1 2 /dev/hdc8 /home reiserfs notail 1 2 # CD/DVD none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,user,--,iocharset=iso8859-1,codepage=850 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,user,--,iocharset=iso8859-1,codepage=850 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850 0 0 # FAT32 partitions /dev/hda1 /mnt/win2k vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 /dev/hda5 /mnt/software vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 /dev/hda6 /mnt/windev vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 /dev/hdc9 /mnt/wintemp vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 /dev/hdc10 /mnt/winrip vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 # Some dev none /dev/pts devpts mode=0620 0 0 none /proc proc defaults 0 0 #none /dev/shm tmpfs defaults 0 0 Before you make any changes do a.. cd /etc cp fstab fstab.bkup This will backup the fstab file in the event you mess it up. Then... gedit fstab This will allow you to edit the file. Your fstab file may not be organized in the same fashion, but will have the same information. Note the #FAT32 partitions? /dev/hda1 is the partition name. You can run diskdrake to get this info. /mnt/win2k is the postiion in the linux file system where the partition will be mounted so you can access it. vfat means this is a fat32 file system. user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 , these arguments further define access to the partition. Set your arguments to equal this list and you will have what you are looking for. After you make the changes, reboot.
  6. I don't know why they don't fragment. Reiserfs has a web site that might provide that info. I do know why FAT32 fragments. A real general answer (which I don't think you will be satisfied with) is the design of the file system. E.g. Fat32 has catalog sectors in the begining of the partition. Each file entry has a pointer to the first sector which has a pointer to the next sector so on.. It also has a list of available free space. It's a primitive file system compared to more recent file systems. Request for free space scans that file allocation table (FAT) and locates the first available block of space that is large enough. File 1: 500 meg File 2: 500 Meg Delete File 1 Free: 500 Meg File2: 500 Meg Create File 1: 200 meg File1: 200 meg Free: 300 Meg File2: 400 Meg Create File3: 100 Meg File1: 200 meg File3: 100 meg Free: 200 Meg File2: 400 Meg Delete File1 Free: 200 meg File3: 100 meg Free: 200 Meg File2: 400 Meg That's fragmentation. Perhaps file systems that don't frag have behind the scene shifting of files. This is possible, especially in a multi-thread OS. This is guessing though because I haven't done my research :P
  7. haven't really researched this topic or tried this but here's a quick example: Example /* STRTOK.C: In this program, a loop uses strtok * to print all the tokens (separated by commas * or blanks) in the string named "string". */ #include <string.h> #include <stdio.h> char string[] = "A stringtof ,,tokensnand some more tokens"; char seps[] = " ,tn"; char *token; void main( void ) { printf( "%snnTokens:n", string ); /* Establish string and get the first token: */ token = strtok( string, seps ); while( token != NULL ) { /* While there are tokens in "string" */ printf( " %sn", token ); /* Get next token: */ token = strtok( NULL, seps ); } }
  8. I've been meaning to sit down and learn some more indepth issues on firewalls. Right now php is the focus, but later.. :)
  9. Did you do a urpmi mplayer? It had a bunch of support packages including codecs...
  10. if its not working for some reason, you can also try typing the first letter and then a tab key. It will display all the possibilities.. e.g. xcd <tab>
  11. Probably because you are using the static version of Opera, meaning all libraries are included vs linking to existin libraries on your system. I think I have that right :roll:
  12. Zonealarm is a newbie firewall. I say that meaning it is designed for people who know nothing about firewalls. They want to start it and forget about it. On the other hand, its a good firewall. In the linux world, its usually more complicated than that. You can check out portsentry, firestarter, guarddog. These are also install and forget but may not be as secure unless you get into how to configure them. I'm stating this in a general fashion more than from personal experience. You can also install webmin and use it to configure existing firewalls. Webmin is a web based method of managing your linux installation. If a module for that filewall has been designed to work with webmin, then it will allow you to configure it.
  13. Not a bad thing. You will get windows experience there and linux experience on your own. Now when you get a job someday if the opportunity arises to use linux to do a windows job, you will know how? *gosh*
  14. If you don't mind, share it with us. Never know :wink:
  15. Some other search topics to check out are mysql, odbc, "microsoft access", linux, ibm I'm guessing abit since I do database programming on windows, but if you can get odbc installed, then you can use mysql to open a connection through odbc to the access database. Had a thought (yes it hurt!) Check out www.freshmeat.net... here's an example.. http://freshmeat.net/projects/mdbtools/ Use the search engine to get what you need and try to find a project that has utilities so yoiu don't have to reinvent the wheel..
  16. If for some reason that doesn't work, you can locate your kdm application (do a search) and rename it to something else like kdm.hold. On reboot, the system will revert to GDM.
  17. Might want to take a top->down approach on explaining your problem. For example, I was booting my computer, logged in and got this message. Or, I was running this software and got this message... It's not clear where you are at..
  18. Might want to research ODBC. Do a search of the old old board (www.mandrakeuser.org/mub) for odbc. I remember that being asked last year..
  19. It still displays stuff so if DOlson's intent is to have a totally 100% clean display (no text), that won't do it. But you are right though. I took the quiet out (cuz I like the scrolling text) in order to get more detail..
  20. Try doing a google on "LCP terminated by peer". Tons of stuff out there...
  21. My hand, trembling, reaches out for the Team Fortress CD's and *gasp* pulls back! "NO!" I shout. "I won't go back! I have a life to live.." :roll:
  22. Probably licence issues. For example, if package A (that you use to view DVD) uses package or library B and that package is licensed or has some kind of doubt as to its license. Perhaps not open source or GPL exactly, mandrake would probably not want to include it and have package b owners come after mandrake for money later.
  23. Well, what you do mean by "both video setups"?
  24. Maybe you need to get source code and compile it rather than rpming it? Since you have the library it was looking for..
×
×
  • Create New...