Best of Technical Support
How do I create an image file from a floppy disk? I have tried to find this everywhere, with no success. —Bryan Hepkema, email@example.com
If I get your question correctly, to generate an exact copy of what is on a floppy disk, and store it on your hard disk, you can use the command dd if=/dev/floppy of=/tmp/floppy_image. You may have to input the correct device name for your floppy unit (possibly /dev/fd0). This will create a binary image of whatever is on the diskette in the file /temp/floppy_image. I would suggest you study the dd command with man (man dd). —Felipe E. Barousse Boué, firstname.lastname@example.org
If you need an image from a file, just insert the floppy and cat /dev/fd0 > file. The device representing the floppy is just a file representing the whole disk. That's true for hard drives as well. —Alessandro Rubini, email@example.com
How do I get Netscape to print fonts like the web pages actually show? Everything is defaulted to Times New Roman. How do I load and use True-Type fonts? —Greg Crutcher, firstname.lastname@example.org
There is no short answer to your question. Many Xwindows configuration issues have to be addressed. The right answers can be found at the following URL: pegasus.rutgers.edu/~elflord/font_howto/html/index.html#toc1. It is also worth mentioning that Netscape has its own personality regarding fonts and behavior under X. —Felipe E. Barousse Boué, email@example.com
Check out the TrueType-HOWTO at www.moisty.org/~brion/linux/TrueType-HOWTO.html--Pierre Ficheux, firstname.lastname@example.org
I have installed Caldera's OpenLinux eDesktop 2.4 on my HP Pavillion 6630 computer. I can dual boot into either Linux or Win 98 and would like to be able to share files between operating systems. Under Linux, the file directory for Windows is visible under hda, and I browse through my Windows files and even open them, but I cannot write to this directory. Is there any easy way to set up a location on the hard drive where I can read and write to files from either Linux or Windows? —Tom Newman, email@example.com
It looks like you don't have permission to write to the files. That's what I would expect if you work as a user and the directory is automatically mounted at boot. Try adding “umask=0” in /etc/fstab, in the field where “default” appears to allow everybody to write the files. To have it be effective immediately, try umount /dos; mount /dos. —Alessandro Rubini, firstname.lastname@example.org
How can I have PostgreSQL start automatically when my computer boots up? I must start the postgreSQL server with the command nohup postmaster -d 2 > logfile 2>&1 &, and I must start it as the user “postgres”. I can't figure out where in the /etc/rc.d scripts I should start it from. Thanks for your help! —Warren Killian, email@example.com
The best way to start new programs is by writing a new script, just for them, in /etc/rc.d/init.d (talking RH-hierarchy, other distributions may be slightly different in the pathnames) and then link it from /etc/rc.d/rc3.d. The instructions to write those scripts in the right way should be part of the documentation for your distribution; another good way to do things is to learn (and copy) from what other scripts do. As far as links in /etc/rc.d/rc*.d, there is also a graphic tool to make those links, part of the control-panel tool. Note that Debian is already packaging Postres, so you can look at that script as well. —Alessandro Rubini, firstname.lastname@example.org
The script should use a syntax such as
su postgres -c '/usr/bin/postmaster ...'
However, a “postgresql” init script is included in the distribution so that it is installed in the /etc/rc.d/inid.d directory. —Pierre Ficheux, email@example.com
I got Corel Linux installed alongside MS Win98 okay, but now, when I boot to Linux, the login screen flashes and accepts characters only when the screen is displayed (at about half-second intervals, on and off). I cannot catch the on part in order to successfully log in. What is wrong, and how is it fixed? I tried typing kde at the command prompt, but it cannot load x. It runs okay in VGA mode and logs in to kde okay. I am a total Linux newbie but am familiar with MS-DOS and CP/M (showing my age now!) Many thanks. —Adam Puk, firstname.lastname@example.org
Your symptoms may mean that the system is driving the screen at incorrect frequencies (the PC world is too varied; it's not easy at all to devise things that work for all possible hardware), but there should be no relationship between that and reaction to keboard input. What you may try is booting in single user and then look for the command that corrupts things by executing the init scripts one at a time. Unfortunately, to do this kind of tracing, you'd need to already have good experience. I'm afraid your best bet is to look for a knowleadgeble neighbor. —Alessandro Rubini, email@example.com
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- The Firebird Project's Firebird Relational Database
- Stunnel Security for Oracle
- My +1 Sword of Productivity
- SUSE LLC's SUSE Manager
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide