Regards
Marco A. Cruz Quevedo
> After checking a Minix filesystem, from another OS (Linux) I found out
> that any ln (link) done in Minix is actually a copy (cp). Is this
> normal?
Minix 3 has links, and ln creates them. Symbolic links, however, are
still
not implemented.
What do you mean with "checking from another OS"?
--- Casantos
Minix does not yet support symbolic links.
What you see as copies are probably hard links.
The commands:
$ echo "Hello!" > file1
$ ln file1 file2
$ cp file1 file3
will give you the following:
$ ls -ali
total 20
1170449 drwxr-xr-x 2 lsodgf0 users 4096 Mar 5 11:00 ./
97537 drwx--x--x 42 lsodgf0 users 4096 Mar 5 10:54 ../
1170433 -rw-r--r-- 2 lsodgf0 users 7 Mar 5 10:59 file1
1170433 -rw-r--r-- 2 lsodgf0 users 7 Mar 5 10:59 file2
1170434 -rw-r--r-- 1 lsodgf0 users 7 Mar 5 11:00 file3
It may appear that there are three files, but if you look at the third
column (number of links) you'll see that file1 and file2 have 2 links.
The first column shows that file1 and file2 point to the same i-node.
This mean that the two entries in the directory point to the same disk
area, i.e. the same file. file2 is a link to file1.
file3 is a copy of file1 and it has a different i-node, i.e. points to a
different disk area.
Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
> Minix does not yet support symbolic links.
Is this a joke, or is there really continuing Minix development?
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Well, the first release of Minix 3 did not have symbolic links.
It very likely that the next release of Minix 3 will have symbolic links.
Unfortunately, research gets in the way of releasing new 'boring' features
in a timely fashion.
--
That was it. Done. The faulty Monk was turned out into the desert where it
could believe what it liked, including the idea that it had been hard done
by. It was allowed to keep its horse, since horses were so cheap to make.
-- Douglas Adams in Dirk Gently's Holistic Detective Agency
Of course it's not a joke!
The fact that Minix is not a full-featured OS is one of its major
strenghts, considering its original purpose. Each one of the gaps
is a potential research project or class assignment. That's why
I started to study Minix even though I use FreeBSD professional
and personal purposes.
--- Casantos
> Giovanni wrote:
>
>> Minix does not yet support symbolic links.
>
> Is this a joke, or is there really continuing Minix development?
Yes, version 3.1 is out. See comp.os.minix and http://www.minix3.org/ for
details.
Thanks.
-------------------
Freedom is not a permission for chaos.