10-21-2019
Macos is the UNIX?
why,just beacuse that its the bottom layer uses a small amount of bsd code? In my opinion, macos and Unix are completely different. The directories are long directory structures. For example, /application, /system, /user, /volumes, etc. are completely different from the traditional /bin/ /sbin /etc/ /sys directories. The core uses a mixed kernel of mach and xnu, and is not a traditional monolithic kernel of Unix. The application uses older versions, such as sudo1.8.17, bash3.18. This is updated to sudo1.8.28 and bash5.0 under archlinux. You must also get the app store to install the program. Such an os I think it is more like windows
On the contrary, Linux I feel it more like Unix, keep the simple and stupid Unix style, and even some distributions do not provide gui, just shell mode. The directory follows the Unix traditional directory /bin /boot /etc/ /tmp /var and so on, not innovating alone. The core uses the traditional monolithic kernel written by linus. Installing the software needs to be done under the terminal, although different distributions have different command line styles. Give the user great freedom. In addition to the software you think it is not derived from the original code of at&t, but a cloned version of gnu. I really can't see where it is not Unix. Why do many people call it a class of Unix? What are they thinking about?
Is it only use "car"word call the car, Toyota and Mazuda and Ford do not call the car? ? Is it only use “airplanes” call the aircraft, Airbus and Boeing are not called airplanes? ? Different motors, different design styles, different appearances. But their principles are the same. In my opinion, as long as the design philosophy of kernel, shell, and user space is followed, having the same directory structure, shell, and underlying c language design can be called Unix.
Therefore, Unix did not disappear, but changed a vest, with gnu/linux, freebsd mode continues to exist.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am interested in knowing if anyone out there has been using the BSD UNIX that underlies
MacOS X. Is this an "industrial strength" version of UNIX? Can I run X-Windows on such
a machine? How about TeXing, pythoning, PERLing or using other useful UNIX goodies
near and dear to my shrunken... (1 Reply)
Discussion started by: ncmathsadist
1 Replies
2. UNIX for Dummies Questions & Answers
1) How can I stop Vuze from reporting the following error: "Too many open files" ?
2) What directory do I need to be in to effectively utilize this command:
sudo bash -c 'ulimit -n 8192; sudo -u username ./azureus' ?
3) Is this the maximum number of files that I can allot to Vuze on OS X... (1 Reply)
Discussion started by: JFraser1
1 Replies
3. UNIX for Beginners Questions & Answers
Dear all,
I use awk quite a bit for data wrangling ... today I find weird behavior that I cannot wrap my head around.
if I execute the following command (simplified to illustrate the behavior ... nothing to do with the real command)
bash-3.2$ awk... (3 Replies)
Discussion started by: comm|getline
3 Replies
4. UNIX for Beginners Questions & Answers
hi,
I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
Discussion started by: Godtookapicture
5 Replies
5. OS X (Apple)
Sadly, I have turned off my access to the Apple Developers Beta program after installing macOS 10.15 Catalina a few days ago.
After the install, I rebooted by MacBook Air and it "hard froze" and we were heading out of town so I grabbed a backup MBA running Mojave.
Then, after getting back at... (10 Replies)
Discussion started by: Neo
10 Replies
6. Programming
Hi Neo...
This is me too except for the attention span. As soon as I find a solution to something I let others better it.
And as for doing something different I have done some bizarre stuff on here... <wink> /Me awaits the mickey take... ;oD
OT: Here is a small snippet for a terminal window... (3 Replies)
Discussion started by: wisecracker
3 Replies
U9FS(4) Kernel Interfaces Manual U9FS(4)
NAME
u9fs - serve 9P from Unix
SYNOPSIS
u9fs [ directory ]
DESCRIPTION
U9fs is not a Plan 9 program. Instead it is a program that serves Unix files to Plan 9 machines using the 9P protocol (see intro(5)). It
is to be invoked on a Unix machine by inetd with its standard input, output, and error connected to a network connection, typically TCP on
an Ethernet. It runs as user root and multiplexes access to multiple Plan 9 clients over the single wire. It simulates Unix permissions
itself by assuming Plan 9 uids match Unix login names.
If a directory is specified u9fs first does a Unix chroot system call to that directory.
Plan 9 calls this service 9fs with TCP service number 564 on the Ethernet. Set up this way on a machine called, say, kremvax, u9fs may be
connected to the name space of a Plan 9 process by
9fs kremvax
Due to a bug in some versions of the IP software, some systems will not accept the service name 9fs, thinking it a service number because
of the initial digit. If so, run the service as u9fs or 564 and do the srv and mount by hand:
srv tcp!kremvax!u9fs
mount -c /srv/tcp!kremvax!u9fs /n/kremvax
For more information on this procedure, see srv(4) and bind(1).
U9fs serves the entire file system of the Unix machine. It forbids access to devices because the program is single-threaded and may block
unpredictably. Using the attach specifier device connects to a file system identical to the usual system except it permits device access
(and may block unpredictably):
srv tcp!kremvax!9fs
mount -c /srv/tcp!kremvax!9fs /n/kremvax device
(The 9fs command does not accept an attach specifier.) Even so, device access may produce unpredictable results if the block size of the
device is greater than 8192, the maximum data size of a 9P message.
The source to u9fs is in the Plan 9 directory /sys/src/cmd/unix/u9fs. To install u9fs on a Unix system, copy the source to a directory on
that system. Edit the makefile to set LOG to a proper place for a log file and to set the compile-time configuration correctly. Then com-
pile with an ANSI C compiler and install in /usr/etc/u9fs. Install this line in inetd.conf:
9fs stream tcp nowait root /usr/etc/u9fs u9fs
and this in services:
9fs 564/tcp 9fs # Plan 9 fs
SOURCE
/sys/src/cmd/unix/u9fs
DIAGNOSTICS
Problems are reported to /tmp/u9fs.log. A compile-time flag enables chatty debugging.
SEE ALSO
bind(1), srv(4), ip(3), nfsserver(8)
BUGS
The implementation of devices is unsatisfactory.
U9FS(4)