06-11-2007
1. You need an operating system that will work on your hardware. HPUX is for PA-RISC or Itanium.
2. Solaris can be used for home use for free and is a "real" UNIX.
3. NetBSD/OpenBSD/FreeBSD derive from BSD UNIX.
4. Linux is a very popular UNIX-alike. Which distribution is a matter of personal choice, but Ubuntu is supposed to be good for first time users.
6 More Discussions You Might Find Interesting
1. Slackware
hi,
as you know nearly every distribution has its own package-management and it needs special packages to install different software.
For slackware it's *.tgz, for debian *.deb, for many rpm's *.rpm and so on, but I wonder how a package can be built to be compatibel with every maschine.
An... (2 Replies)
Discussion started by: avaurus
2 Replies
2. UNIX for Dummies Questions & Answers
Which distributions are known to have great performance, but also excellent ease of use and compatibility on VMware Workstation 6? I have 2GB of real RAM in my system and Windows Vista Home Premium as a host operating system. I can almost always get away with alotting up to 1GB of RAM for my... (1 Reply)
Discussion started by: MrrrrrNiceGuy
1 Replies
3. Shell Programming and Scripting
Hi All,
I would just like to know if the /etc/init.d directory which is used to hold the start up scripts is available in all linux distributions? Are there any exceptions
One more question
Is the command chkconfig available in all Linux distributions and used in a similar fashions... (2 Replies)
Discussion started by: gurubarancse
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I'm trying to get lists of the frequency distributions for each of two variables (vars C and N in the examples). I'd like the distribution for each variable to range from the min of the two variables to the max of the two variables. I can work out the max value beforehand by ordering the... (2 Replies)
Discussion started by: auburn
2 Replies
5. UNIX for Dummies Questions & Answers
I'm new in the UNIX world. I'm just wondering what are the different examples of unix distributions? (2 Replies)
Discussion started by: j3ff_skull
2 Replies
6. UNIX for Dummies Questions & Answers
Hello there,
first of all: I do not want to become a hacker. you cannot do that. you cannot learn that from a book.
Don't think I'm some kind of a script-kiddie.
now that's settled let's start.
I've been trying around with a lot of OS lately.
I have backtrack5 installed on my notebook,... (10 Replies)
Discussion started by: Dr. Nick
10 Replies
LEARN ABOUT POSIX
cacheflush
CACHEFLUSH(2) Linux Programmer's Manual CACHEFLUSH(2)
NAME
cacheflush - flush contents of instruction and/or data cache
SYNOPSIS
#include <asm/cachectl.h>
int cacheflush(char *addr, int nbytes, int cache);
DESCRIPTION
cacheflush() flushes the contents of the indicated cache(s) for the user addresses in the range addr to (addr+nbytes-1). cache may be one
of:
ICACHE Flush the instruction cache.
DCACHE Write back to memory and invalidate the affected valid cache lines.
BCACHE Same as (ICACHE|DCACHE).
RETURN VALUE
cacheflush() returns 0 on success or -1 on error. If errors are detected, errno will indicate the error.
ERRORS
EFAULT Some or all of the address range addr to (addr+nbytes-1) is not accessible.
EINVAL cache is not one of ICACHE, DCACHE, or BCACHE (but see BUGS).
CONFORMING TO
Historically, this system call was available on all MIPS UNIX variants including RISC/os, IRIX, Ultrix, NetBSD, OpenBSD, and FreeBSD (and
also on some non-UNIX MIPS operating systems), so that the existence of this call in MIPS operating systems is a de-facto standard.
Caveat
cacheflush() should not be used in programs intended to be portable. On Linux, this call first appeared on the MIPS architecture, but
nowadays, Linux provides a cacheflush() system call on some other architectures, but with different arguments.
BUGS
Linux kernels older than version 2.6.11 ignore the addr and nbytes arguments, making this function fairly expensive. Therefore, the whole
cache is always flushed.
This function always behaves as if BCACHE has been passed for the cache argument and does not do any error checking on the cache argument.
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 CACHEFLUSH(2)