Re: [9fans] Harvey OS: A new OS inspired heavily by Plan 9

2015-07-27 Thread Nicolas Bercher

On 27/07/2015 17:03, Ryan Gonzalez wrote:

I always thought is was that emulating an open-source application
platform is easier than emulating a black box like Wine does, as you
can see how things are done and the internal APIs and stuff.


Yeah, but you know that Wine Is Not an Emulator! ;-)

https://www.winehq.org/about/

Nicolas



[9fans] http://9fans.net/archive/ not up to date

2015-01-20 Thread Nicolas Bercher

It's the first time I see http://9fans.net/archive/ not reflecting
today's e-mails.

Worse than this the last message if from Sun, 16 Nov 2014 12:15:15 +0100.

I think http://9fans.net/archive/ is precious and hope nothing is going
wrong.

Nicolas



Re: [9fans] calm SFX power supply?

2014-08-28 Thread Nicolas Bercher

On 28/08/2014 10:20, kokam...@hera.eonet.ne.jp wrote:

I'll try silent 8cm fan.
However it will rotate in full power anytime.☺


You can try to use a big 12v fan powered only using the 5v line.
If it has enough power to start, it should be quite silent and produce
a fair air flow compared to small and noisy fans powered using 12v.

Nicolas



Re: [9fans] I want manual of OS

2014-08-01 Thread Nicolas Bercher

On 01/08/2014 14:30, Joseph Stewart wrote:

Wow Nicolas, that is beautiful work... did you make a hardcover?


No I didn't, though that is possible (and marginally planned) thanks to
the two ribbons.  Hardcover is another important step and I only did
paperback covers for a few other books.  I need some training!

This is nice to have such feedbacks!

Nicolas



Re: [9fans] ODROID-W

2014-08-01 Thread Nicolas Bercher

On 01/08/2014 04:16, Shane Morris wrote:

There are cards available for it that give it wired ethernet and four
USB ports


Do you mean RPi+-compatible extension cards?  Because I didn't see any
wired ethernet extension on the ODROID-W page.

Nicolas



Re: [9fans] I want manual of OS

2014-07-31 Thread Nicolas Bercher

On 31/07/2014 17:22, Joseph Stewart wrote:

Would a service like http://www.lulu.com/ work for this? I don't know
what their cut is.

-joe


Using Lulu, it might also be easy to keep the manual update to date,
on a regular basis.

Since I like bookbinding I did one by my self:
http://tinyurl.com/lb5jzt3
I replaced some white pages with other ones (copyright, etc.) to fit in
1024 pages so that the printed book is made of 32×32-pages A5 booklets.

That's the kind of work that makes you love the book further more! ;-)

Nicolas



Re: [9fans] The Third Button

2014-07-29 Thread Nicolas Bercher

On 21/07/2014 17:35, Brian L. Stuart wrote:

Would it be possible to create the option of merging these two buttons
for machines not blessed with the traditional rodent?


If you hold down the right shift key while pressing the right
button, it interpretes that as a middle button press.  I'm not
completely certain, but I seem to remember it has to be the
right shift key and not the left.  The one machine where I
use that is a laptop and I've gotten into the habit of holding
the shift key with my pinky and hitting the right button below
the touchpad with my thumb.  Still not as nice as a real
middle button, but it serves in a pinch.

BLS


http://plan9.stanleylieber.com/1995/
http://plan9.stanleylieber.com/1995/img/01.jpg

Nicolas



Re: [9fans] long paths in acme tags

2014-06-11 Thread Nicolas Bercher

On 11/06/2014 23:32, Bakul Shah wrote:

On Wed, 11 Jun 2014 22:27:34 BST Robert Raschke rtrli...@googlemail.com wrote:


Whenever they are available, I use symlinks for shortening paths for
Acme. This is so far the only good use I've found for them ;-)


Symlinks don't help in the tag as pwd finds the real path.


Which pwd are you talking about?
GNU's pwd does not resolve symlinks (pwd -P does), nor p9p's acme.

Nicolas



Re: [9fans] Question about fossil

2014-06-10 Thread Nicolas Bercher

On 08/06/2014 18:56, Bakul Shah wrote:

On Sun, 08 Jun 2014 03:56:24 EDT erik quanstrom quans...@quanstro.net wrote:

- try this out on a small scale before you commit to it, as I
   suspect you'll run into various limits and may be bugs. Do
   report what you discover.
- performance will likely be poor. For better performance you
   may want to keep venti index on a separate (flash) disk.
- it would be nice if you can come up with a workable setup
   for a venti server!


usb performance is ~4-7MB/s.  this is the best you can hope for
from the disk.  venti will only slow this down by multiplying
disk accesses and being a bit seeky.  keep in mind if you're
using this for a venti server, that usb b/w needs to be shared
with tcp.


The last time I measured this (Aug 2012) raw disk write was
10MB/s, file writes were 2MB/s. On the same h/w  disk linux
got 25MB/s (don't recall file throughput). And Linux gets
11.3MB/s ethernet throughput compared 3.7MB/s on 9pi (both
with ttcp). Linux tcp throughput is close to linespeed.


The R-Pi gave me poor results when copying files from the network to a
usb disk (something around 4MB/s).  As Erik mentioned it, all is usb...
I think the R-Pi is not a valuable device for data storage (Linux or
Plan 9).  I'd prefer to use it as a 24/7 terminal, given its low power
consumption.

Nicolas



Re: [9fans] Glenda's world weary cousin

2014-06-06 Thread Nicolas Bercher

On 06/06/2014 11:10, Steve Simon wrote:

Glenda's world weary cousin

https://pbs.twimg.com/media/BpZjUjXIYAIJiua.jpg


Maybe the nsec patch would have been refused by this guy, right?!
(not a troll, just kidding!)

Nicolas



Re: [9fans] nokia n900! (was: syscall 53)

2014-05-21 Thread Nicolas Bercher

On 21/05/2014 17:36, lu...@proxima.alt.za wrote:
 PS: I have resurrected an old Nokia (5110, but I'm not sure) phone,
 but it's been borrowed and I have my doubts that I will be seeing it
 again any time soon.  Maybe this forum can help me decide what GSM
 equipment is safe from interference by the networks and their
 information masters?  My current hate-object is my Galaxy S4.

I'm using the n900, it's running maemo (based/compatible on/with Debian
armel) which is half no-longuer supported, which means no more updates
(or so).  I'm happy to use Git, ssh, emacs org-mode and drawterm
(without Rio for the moment) on it.  It also supports large µSD cards
(say 64GB + internal 32GB = really comfortable!).

There's also an on-going motherboard drop-in replacement-upgrade
project for it:
http://neo900.org/

Nicolas (who broke the too-deep thread)



Re: [9fans] usb configuration

2014-03-05 Thread Nicolas Bercher

On 04/03/2014 12:28, Steve Simon wrote:

And I hate its scroll button,
but I love its three buttons!


I hate scroll buttons too.

I was very happy when I discovered the dell DY651A mouse:

http://www8.hp.com/uk/en/products/oas/product-detail.html?oid=403895#!tab=features

also branded as IBM M-U0013-o

-Steve


Thank you Steve.

Now, what is miss would be a mouse like the Dell DY651A + a lateral
scrolling wheel, maybe.

[The thing is that I took the habit of using scrolling wheels, maybe
this is a habit I can forget.  Forgetting such habits may help to do
better work in the sense that it would avoid compulsive maneuvers,
compulsive scroll here.  And let the good ideas flow.]

Nicolas



Re: [9fans] usb configuration

2014-03-04 Thread Nicolas Bercher

On 03/03/2014 18:41, Ramakrishnan Muthukrishnan wrote:

On Mon, Mar 3, 2014 at 11:02 PM, erik quanstrom quans...@quanstro.net wrote:

Meanwhile, I ordered a used Evoluent vertical mouse from ebay and hope
to get started with plan9 from userspace. I couldn't find any other
usable 3 button mouse in the market here in India.


lenovo sells a 3-button mouse with a scroll button.  the click
feature is seperate from the button so it's very usable.


This one?

http://support.lenovo.com/en_IN/product-and-parts/detail.page?LegacyDocID=MIGR-43954


Yes it is.  I have one.

And I hate its scroll button,
but I love its three buttons!

Nicolas



Re: [9fans] qemu and networking

2014-01-09 Thread Nicolas Bercher

On 08/01/2014 09:11, Bence Fábián wrote:

I use
QEMU emulator version 1.6.0, Copyright (c) 2003-2008 Fabrice Bellard
I don't give any networking options at the command line and it works
for me. I use 9front but I don't think it matters.


I think Yoann asked how to connect to Plan9 from MacOS, right?
You have to use tun/tap and maybe drawterm to connect to Plan 9
from MacOS, and then, for example, copy files via /mnt/term/.

Nicolas



Re: [9fans] qemu and networking

2014-01-09 Thread Nicolas Bercher

On 09/01/2014 17:10, Bence Fábián wrote:

In his mail he was trying to reach the host from the guest.
But the other way around he would need tun/tap. That's correct.


On 07/01/2014 23:16, Yoann Padioleau wrote:
 How can I transfer files between plan9 and my host (I'm under macos)?

Not sure the files transfer direction was mentioned at all:
English is far from being my native language but *between* vs.
*from...to* sound different to me. ;-)

Nicolas



Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread Nicolas Bercher

On 07/01/2014 01:02, phineas.p...@gmail.com wrote:

Nine 9s would have been symbolically better, but it cannot be made to
work graphically unless the scale is enormous.  At screen resolution
the centre just becomes blurred.  I had to settle for six nines (three
positive, three negative).

Peter


6 is just like an upside down 9.  Even if I'm not an everyday user,
Plan 9 has always surprized me in the ways it enables to do things.
It's somehow like an upside down approach to the Unix world.

6 is 2/3 a 9... one may never exploit 100% Plan 9 in deepness?

Also, regarding what Erik asked on 3rd January does anyone feel like
debugging an infinite os?, I feel Plan 9 offers an extra-wide range of
possibilities, approchoaching infinity suggested by your logo.

And in the end, your logo is black (or really dark gray) and white,
just like the Ed Wood movie.

Thus, your logo fits well to me.
Nicolas



Re: [9fans] mount with different username

2014-01-07 Thread Nicolas Bercher

On 07/01/2014 18:17, Bence Fábián wrote:

Hi fans!

I want to mount my filesystem on a linux machine from plan9.
u9fs.log says:

 u9fs
 kill 23121
 - Tversion tag 65535 msize 8216 version '9P2000'
 - Rversion tag 65535 msize 8216 version '9P2000'
 - Tattach tag 15 fid 527 afid -1 uname bence aname
 ruserok(, bence) not okay
 - Rerror tag 15 ename u9fs: rhosts authentication failed

My username is not bence but bfabian on the linux system.
That seems to be the problem. I guess maybe i should use
the -k option of mount(1) but -k 'user=bfabian' doesn't seem
to be enough.

Any input?

Thanks,
BenceF



When I login with drawterm, I need to use both -u (for drawterm)
and -k (for factotum if I remember well), maybe this is the same for
mount:

  -u bfabian -k 'user=bfabian'

Can't find -u in mount(1) as well as -k in drawterm usage().

Nicolas



Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread Nicolas Bercher

On 07/01/2014 19:20, Bakul Shah wrote:

On Tue, 07 Jan 2014 14:00:42 +0100 Nicolas Bercher nberc...@yahoo.fr wrote:


Also, regarding what Erik asked on 3rd January does anyone feel like
debugging an infinite os?, I feel Plan 9 offers an extra-wide range of
possibilities, approchoaching infinity suggested by your logo.


This logo reminds of the time tunnel in the old The Time
Tunnel TV show. Hollywood's idea of science fiction,
mysterious  endless tunnel you can't escape from is not
something I associate with plan9.  If anything it takes the
mystery out of good OS design!

To me Plan9 is closer to a bucket of Lego Technics parts (and
less Pirates of Caribbean kind of Lego sets).  Small, well
designed, high quality parts that are highly composable, fun
to play with  what you can build with is limited only by your
imagination.

Funny how we all see something different in the same graphic!


I completely agree.  And I think my point of view was, since I'm a big
fan of Lego Technic, just expressing the wide range of things you can
invent with Lego Technic parts.

Nicolas



Re: [9fans] mount with different username

2014-01-07 Thread Nicolas Bercher

On 07/01/2014 18:33, Nicolas Bercher wrote:

maybe this is the same for mount:

   -u bfabian -k 'user=bfabian'


Sorry, after a quick code exploration (mount.c), I think
this is a wrong assumption.

Nicolas



Re: [9fans] Alternative Plan 9 Logo

2014-01-06 Thread Nicolas Bercher

On 03/01/2014 23:07, phineas.p...@gmail.com wrote:


Hi everyone,

I'm tinkering with an alternative Plan 9 logo.

Any comments or suggestions?  Is there even any interest in something
like this?

http://pdf.multics.org/9_Logo_Concept.pdf

Best,
Peter



Beautiful logo.
I wonder who could decide to adopt it on behalf of the community?

Nicolas



Re: [9fans] Alternative Plan 9 Logo

2014-01-06 Thread Nicolas Bercher

On 05/01/2014 19:09, Shane Morris wrote:

Plan 9 Inside?


No, it's just Plan 9 inside 9 inside 9 inside 9 inside 9. (-;

Nicolas



Re: [9fans] music storage

2013-12-10 Thread Nicolas Bercher

On 10/12/2013 04:26, andrey mirtchovski wrote:

offtopic at this point, but anyways: I'm willing to bet that at least
a few pre-1998 cds from your collection were pirated copies from the
factory in Stara Zagora in Bulgaria our little claim to fame from
that period...


Ah ah, I've been in such store in Stara Zagora!
I purchased a few CDs at that time (2002) but Pink Floyd's
Ummagumma CDs got their printed surface swapped from each other!
There's really no respect to nothing regarding piracy.

I really loved  enjoyed Bulgaria by the way! ;-)

Nicolas



Re: [9fans] pdf viewer

2013-11-14 Thread Nicolas Bercher

On 13/11/2013 20:33, erik quanstrom wrote:

has anybody done any work on a reasonable pdf viewer for plan 9?
gs just doesn't cut it.  it works very poorly on 64 bit machines, and
also fails on a lot of datasheets i need to use even on 32-bit machines.
poor pdf support is my #2 problem with plan 9.  (just barely edged out
by dns).

- erik


Erik, what's your #1 problem with Plan 9?
Web browser?
Nicolas



Re: [9fans] Plot(1) broken on p9p OSX?

2013-04-20 Thread Nicolas Bercher

On 19/04/2013 23:23, marius a. eriksen wrote:

% @{echo 1; echo 2; echo 3} | graph -a | plot

Yields only a lonely, blank window.


Using drawterm connected to a native Plan 9, it's working
but if I drag the window, the plot disappears (the window
becomes blank).

Nicolas



Re: [9fans] FAT32 question

2013-03-27 Thread Nicolas Bercher

On 27/03/2013 15:18, Comeau At9Fans wrote:

On Wed, Mar 27, 2013 at 8:33 AM, erik quanstromquans...@quanstro.net  wrote:

On Wed Mar 27 08:26:04 EDT 2013, comeauat9f...@gmail.com wrote:

...  I tried mv'ing the problem files and then back
but same results.


modulo other bugs, dossrv does something kind of interesting.
if you explictly walk to x.c, you will have a match.  but it doesn't
do this when stating a directory.  so if the file lists as x.c you
should be able to compile it.

ladd# cd /n/9fat
ladd# lc
9LOAD   9PCCPU.GZ   9pccpu  PLAN9.INI
ladd# cat plan9.ini/dev/null
lladd# cat PLAN9.ini/dev/null
ladd# cat PLAN9.INI/dev/null


That seems correct from what I saw.  The problem is in globing though,
*.c will yield differently than x.c/X.c/x.C/X.C.  Anyway, I seem to be
past this part of things as I just tried mv'ing on Plan 9 itself
rather than the host system and that seems to be letting x.c be seen
as itself, or whatever it is that's going on or not is good enough for
me now.


Maybe a solution would be do to this in two passes.  Since x.c and X.C
describe the same file, it is not possible to rename it directly:

  cpu% touch X.C
  cpu% mv X.C x.c
  mv: X.C and ./x.c are the same

Just try something like this:

  cpu% mv X.C _x.c
  cpu% mv _x.c x.c
  cpu% ls *.c
  x.c
  cpu%

It worked for me on the 9fat partition (the only difference being
my Plan9 runs on an Atom, not a RPi).

Nicolas



Re: [9fans] gcc not an option for Plan9

2013-03-25 Thread Nicolas Bercher

On 23/03/2013 20:23, ron minnich wrote:

I'll happily pay the price of bigger binaries for things such as the %v format.

I don't write hello, world that often, or even care about its size when I do.

One demo we used to do for Unix was show we could write an executable
program that was 2 bytes. It was cute. Did it matter, in the end? Not
really. But we used to call 4k programs bloated.

I have  a hard time worrying about 1M binaries on $200 machines with
12 GB/s memory bandwidth and 4G memory.
It's 2013.


Even if I deeply love small and beautiful code, the only thing I really
care in everyday's life is computers responsiveness.  And I found myself
too often unhappy with nowadays computers responsiveness.
And maybe it's only a matter of code design quality.  One may write
really good and efficient code that will consume tens of KBytes when
compiled.  So to me the code size is not that much a big deal as far as
the result works pretty well.

Nicolas



Re: [9fans] [RQ:] SATA HD 2+ TB native recommendations

2013-02-20 Thread Nicolas Bercher

On 20/02/2013 15:04, erik quanstrom wrote:

4k drives only work in 9atom.  and they're not recommended
as a boot drive.


Do you mean 4k drives that reports 4k block size or 4k drives that
report 512B?



i've found it hard to tell, even reading the data sheets if a drive
is 512 or 4k.  but many drives have the lba number on the sticker.  and
for example 3907029168 corresponds to 512-byte sectors, 2T.

3907029168*512/1000^4 = 2.0

- erik


My WD hdd hosts a Plan 9 from Bell Labs from Bell Labs, it is a
WDC WD15EARS-00Z.  I'm 99% sure* it is a 4k hdd that reports 512B block
sizes.  And when I installed the system, I did all the partitioning by
hand to ensure alignment for every Plan 9 partition.  It was quite a
pain.

I didn't take a look seriously to the sticker, I will next time the
box will be opened.


Nicolas

--
* If I remember well, I did some tests with misaligned partitions
under Linux, R/W operations were so slow...!  To me, it's hard to be
sure whether it's a 512B or 4kB hdd without performing some tests, like
this.



Re: [9fans] fortune nomination

2013-02-01 Thread Nicolas Bercher

On 31/01/2013 18:44, Rox 64 wrote:

I don't see the problem. If I wanted to implement human beings, physical
laws, an universe and an operating system inside a missing text editor
inside a Lisp interpreter on a C compiler I'm pretty sure I would add 1200
options.



Anyway, I still love emacs.
Maybe I'm too young?!

Nicolas



Re: [9fans] 9pi + apple keyboard

2013-01-23 Thread Nicolas Bercher

On 23/01/2013 13:11, Richard Miller wrote:

But of course the pi has a FPU, GPU, ...


Indeed.

term% for (i in dh61 atom pi3 plug) {
cpu -h $i -c 'cat /dev/cputype
time factor 281476419553081/dev/null'
}
Core i7 2293
0.07u 0.00s 0.07rfactor 281476419553081
Atom 1601
0.64u 0.00s 0.64rfactor 281476419553081
ARM11 700
1.18u 0.02s 1.20rfactor 281476419553081
ARM Marvell 88F6281 A0; arm926ej-s arch v5te rev 2.1 part 131 1200
90.31u 0.00s 90.39r  factor 281476419553081


Interesting results, thank you!
The difference between the Pi and the Sheeva is quite huge,
I wasn't excepting such difference.  This seems to confirm my
initial thoughts regarding the Atom perfs.

Nicolas



Re: [9fans] 9pi + apple keyboard

2013-01-22 Thread Nicolas Bercher

On 22/01/2013 18:06, erik quanstrom wrote:

sort of sad when the keyboard uses more power than the computer.


Sadly funny!

The PI is really power-efficient, this is quite impressive.
Thanks ARM!

I'm currently running two Atom-based servers for Linux and Plan9 (=40W
each), and it is possible that the computation power I need could fit
in two Pis, except for the disk transfer rate that seems to be limited
by all-being-usb bootleneck when using two USB devices to read and
write data at the same time (backups from ethernet to USB hard drive).
(+ in the end, the limiting 100M-only built-in ethernet controller).

Nicolas



Re: [9fans] How to do this with [acme | sam | sed ] ?

2013-01-11 Thread Nicolas Bercher

On 11/01/2013 12:19, Peter A. Cejchan wrote:

## How to do this with [acme | sam | sed ]  ?
# compound commands
# remove outermost pair of braces:  abcd(x+(y-z))efgh  --  abcdx+(y-z)efgh
  [ no idea :-( ]


Is this enough?

  echo 'abcd(x+(y-z))efgh' | sed 's;\(;;' | sed 's;(.*)\);\1;'

Nicolas



Re: [9fans] How to do this with [acme | sam | sed ] ?

2013-01-11 Thread Nicolas Bercher

On 11/01/2013 14:10, Peter A. Cejchan wrote:

   echo 'abcd(x+(y-z))efgh' | sed 's;\(;;' | sed 's;(.*)\);\1;'


Thanks, this is fine for my purpose (porting from C to Go), thanks!
Just removing parens around for and if statements on a single line.

  | 9 sed 's/\(//; s/(.*)\)/\1/'
(linux's sed does not work with it)


Under Linux, you have to switch the syntax between escaped and literal
parenthesis, this works fine:

  | 9 sed 's/(//; s/\(.*\))/\1/'

Nicolas



Re: [9fans] 9atom on Dell Inspiron Mini 9

2013-01-10 Thread Nicolas Bercher

On 10/01/2013 18:20, Alexander Shendi (Web.de) wrote:

Hello 9fans,

I'm planning to install Plan 9 on a spare i386 machine, a Dell Inspiron Mini 9 
netbook.

I have googled a bit and my best bet seems  to be the 9atom distribution. 
However
the netbook doesn't have a CDROM and I would habe to buy an USB-CDROM-Drive.
Thus my questions:
* Has anyone tried  Plan 9 on  this or similar hardware?
* Can Plan 9 boot of an USB-CDROM?

Many thanks in advance for your help.

Best Regards,

Alexander



Note that standard Plan 9 runs well on atom based machine (Atom D410,
N10/ICH 7) with no (apparent) problems.

Nicolas



Re: [9fans] Raspberry Pi userland is now open

2012-10-24 Thread Nicolas Bercher

Le 24/10/2012 20:03, s...@9front.org a écrit :

From: Theo de Raadtdera...@cvs.openbsd.org
Sender: owner-m...@openbsd.org


http://www.raspberrypi.org/archives/2221


Well, they are lying to everyone.

Their open source is nothing but a layer of code which calls into a
closed source back-end.


Do you mean there's a firmware or some binary blob that is still closed?

Nicolas



Re: [9fans] Xen4 status

2012-10-22 Thread Nicolas Bercher

On 22/10/2012 21:20, ron minnich wrote:

if you're running xen you're almost certainly using a linux in dom0.
Given that, kvm is usually a better bet.


Right, dom0 is a Xen3 Debian.

OK, but that's strange, I read the opposite advice from you and Eric
Van Hensbergen : http://9fans.net/archive/2007/04/152

OK, it's 5 years old... I wasn't aware that qemu/kvm did such
progresses... what make this huge difference?

On the other hand, since 2009, I tried a lot Plan 9 over qemu+kqemu,
then switched to kvm (Intel vmx).  Even if I didn't quantified the
benefits of Xen3, I really felt it gave me best perfs for both disk
access (fossil+venti) and when running as a terminal (graphics).

But kvm is to me far more simpler to setup (no dom0) and run.

Nicolas



[9fans] Xen4 status

2012-10-21 Thread Nicolas Bercher

Can anyone confirm that Plan 9 runs well under Xen4 ?

The only information I found about that is here:


http://rpm.pbone.net/index.php3/stat/4/idpl/18540414/dir/opensuse/com/xen-4.0.3_04-45.1.i586.rpm.html

But I'm not sure this isn't a copy-paste of the Xen3 package
description!

Thanks,
Nicolas



Re: [9fans] Mini PCs

2012-08-07 Thread Nicolas Bercher

On 11/06/2012 16:03, Richard Miller wrote:

* Raspberry Pi


At least two 9fans are in the order queue for one of these.


+1, I received mine a few days ago.  I can't wait to give a try to Plan9
on it!

Nicolas



Re: [9fans] Multi-dimensional filesystem

2012-08-04 Thread Nicolas Bercher

On 03/08/2012 19:18, tlaro...@polynum.com wrote:

Hello,

This is mainly a theoretical question.

While playing with the representation of mathematical definitions as
a file hierarchy (at dot you find a DESC or whatever named file with
the description, and the subdirs are simply more restrictive
instances of the thing; say : collection -  magma -  monoïde -
group etc.), it is soon obvious that a filesystem is a one dimension
thing: you only follow one string. Multiple parents at the same
level are not there.

One could trick partly using hard or soft links. But with always the
same problem: who is dot-dot, in a case where multiple parents are
here? And multiple parents are not, to my knowledge, supported by
kernel filesystem code. Manipulating the namespace is not the same.

Has someone ever played with the notion of a multidimensional
filesystem, where '/' is the origin, the nodes would be some
representation of (a, b, c,...) (even negatives perhaps), each node
having a name (user defined one by the way), and if a node is, say
(3, 0, 1,...) this means that it is to be found as the third subdir
of the (1, 0, 0,...) path etc., (In this scheme, if there is no link
(no path) from another notion, it is another dimension).

Just for intellectual curiosity.

Best,


Hi,

As far as I understand, it seems you are interested in the idea of views
over your files. Something that has been approached as non-hierarchical
file systems. But the complexity of handling such graphs often seems to
be the reason why these projects failed. Not to mention how the pain to
adapt them to the existing systems that are strictly hierarchical.

In a project we presented in iwp9 6e (2011), we introduced the design of
a filesystem that stores files (stream or hierarchy of files) in
/records/ on a WORM file system (Venti). Records are stored in sequence,
as they arrive (in respect to their recording order). Each record is
identified by your username 'u', the repository name 'h' (for host) and
an index related to time 't' (that is not time, but a self incremented
interger linked to the date in the current calendar). Each triplet
{u,h,t} is uniquely linked to a Venti SHA-1 score. That is the ground level.

On top of that, you are free to point files to build any view on them
and store these views again in new records, using any naming convention
you like at this moment. A non intrusive hypertext language can be
used to write a log book from were you point the files you stored in
records. From this log book, you can do literate programming, run
scripts on files, etc. (For the moment, Emacs org-mode seems to be a
good hyper-text language to start from.)

A third component, a triplet indexer, helps you to find which records
points to other records, an vice versa. A plain text search engine
helps you to retrieve text from the past. All is centered on traceability.

We spent a lot of time studying reference bibliography from the 60s to
today and already have plans for implementation of the ground level
file system on top of Venti.

Hope this will interest you, at least just for intellectual curiosity!
;-)

Nicolas



Re: [9fans] drawterm on the nokia n900

2012-06-21 Thread Nicolas Bercher

Le 18/06/2012 14:21, hiro a écrit :

Just to give someone who searches for some specific drawterm patch some help:

Skip once made drawterm work on ARMv6
https://bitbucket.org/9nut/drawterm-arm-patch and I changed the use of
swp to ldrex/strex which enables it to work on my ARMv7.

Also, the latest win32 cleanup in Russ' repo did nothing but
completely break compilation for win32, and some really old patches
which were supposed to enable mousewheel support were apparently never
tested. I deleted a line and moved an other one around and now it
works. Also added pgup/pgdown and home/end keys.

This is not a fork. I don't even know how to use hg. Sadly I couldn't
reach Russ, so I just leave this here. It has the code for both trees
and a working drawterm.exe:
http://h1ro.dyndns.org/drawterm/


Just an info: I run Debian Lenny armel drawterm on a Nokia n900*, it
runs very well except that it is not yet possible to use Rio without a
hack get button-2 and button-3 (actually, the touch screen does
button-1).  So I stick to console mode (termrc: don't run Rio if
/mnt/term/etc/hostname contains the name of the n900), better than
nothing.

I plan to implement the 3 buttons hack, but I didn't managed to find the
time yet.  By the way, if there are n900 users around here (Richard did
you buy a new one?), I'd really appreciate suggestions about the keys
you'd like to use as mouse clic-modifers.

Nicolas

--
*the package doesn't install quite well (dependency problem?, I don't
rememeber), but it only contains drawterm so I copied it to ~/bin.



Re: [9fans] drawterm on the nokia n900

2012-06-21 Thread Nicolas Bercher

On 21/06/2012 21:24, hiro wrote:

so you got a new iphone?


*the package doesn't install quite well (dependency problem?, I don't

there is a .deb package for an ARM drawterm?


Yep, and many other architectures as well:

  http://packages.debian.org/squeeze/drawterm

(I was wrong in my previous e-mail: drawterm, at the time of Debian
Lenny, was available only from the unstable branch.)

Nicolas



Re: [9fans] apparently nice summary of small linux pcs

2012-06-18 Thread Nicolas Bercher

Le 17/06/2012 19:20, arn...@skeeve.com a écrit :

http://raymii.org/cms/p_Small_Linux_PCs_overview

Arnold


Thank you a lot.  There are some nice devices I've never heard
about before, including the Cubox.

Nicolas



Re: [9fans] Thinkpad T61 Installation Experience

2012-05-16 Thread Nicolas Bercher

Le 16/05/2012 14:24, Burton Samograd a écrit :

So, in the end I got 9front installed but now the bell labs wiki isn't
very helpful since so much has
changed, with the first being how to add a new user among other
things.  To be honest, I'd rather
be using the Bell Labs iso so if anybody could give a suggestion on
how to get that working I'd
appreciate it.


As far as I can tell dmaon is important.

As a beginner, I always refer to this doc when I install a new Plan 9
system:

  http://mirror.9grid.fr/mirror.9grid.fr/plan9-cpu-auth-server-howto.html

Even if it's focused on the installation of an all-in-one cpu/fs/auth
machine, in the end, many steps are the same for the set up of a
terminal.  Better than that, you could set up a dual machine that can
be booted as a cpu/fs/auth or as a terminal.

Nicolas



Re: [9fans] Thinkpad T61 Installation Experience

2012-05-16 Thread Nicolas Bercher

Le 16/05/2012 15:14, David du Colombier a écrit :

Have you enabled DMA at the begin of the installation
process? Whitout DMA, your disk i/o will likely be
something like ten times slower.


Is there any remaining reason today for dmaon not being the default?

Nicolas



Re: [9fans] Location of plan9.ini

2012-05-10 Thread Nicolas Bercher

On 10/05/2012 14:10, IainWS wrote:

Yes, but I get /bin/9fat does not exist.


Type 9fat: not 9fat

Nicolas



Re: [9fans] Starting a blog on plan 9

2012-05-08 Thread Nicolas Bercher

On 08/05/2012 11:34, IainWS wrote:

Hi there! I am trying to get involved more with plan 9 but having some
trouble finding resources on it that are all in one place. I have
started a blog so that I can add resources to make things more simple
for new users, and for the community in general. What do people think
about this?

You can find the link to this here:

http://plan9docs.wordpress.com/

Any feedback would be much appreciated.


Its often useful to share your experience, I appreciate this.

Nicolas



Re: [9fans] nice terminal...

2012-03-20 Thread Nicolas Bercher

Does anyone know about the Plan 9 support status for the Raspberry Pi ?

Nicolas



Re: [9fans] nice terminal...

2012-03-20 Thread Nicolas Bercher

Le 20/03/2012 15:10, Charles Forsyth a écrit :

You have to have got one first. My delivery note says May and the blog
said the initial batch had a part wrong (stopping ether from working).


OK, I'll wait.
For sure this device will stimulate some Plan 9 users!

Nicolas



Re: [9fans] octopus paper

2012-03-02 Thread Nicolas Bercher

On 02/03/2012 13:11, Charles Forsyth wrote:

Welcome to the world of Elsevier, Springer and Wiley.

On 2 March 2012 10:29, Francisco J Ballesterosn...@lsub.org  wrote:


WoW! I hate them.
It seems my university is subscribed and I could browse it freely…
I'll talk to you off list.




Here at CNRS, you are starting to struggle against this crazy system:

 1) we pay to submit papers
 2) we pay to read papers from others
 3) we have to pay more if we want our papers to be freely accessible
 4) we are not paid for peer review

4 times a shame, at least.

Nicolas



Re: [9fans] issuing fshalt shuts down rio and gives the

2012-02-22 Thread Nicolas Bercher

On 30/01/2012 10:44, ROuNIN wrote:

Why can we not re-instate the following messages at least the done
halting:

term% fshalt
syncing.../srv/fscons...prompt: venti...
halting.../srv/fscons...
prompt:
done halting


That an important point to me: how can I be sure all of the fshalt stuff
is done for good?  I'm currently setting up a Plan 9 cpu/fs/auth with
recent iso and this really confused to me at first.

Actually, after (too) many reboots, I saw done halting only once.

Nicolas



[9fans] xen3: behaviour with on_poweroff='destroy'

2012-02-15 Thread Nicolas Bercher

I'm not sure that this triggers fshalt on a virtualized Plan 9 machine.
Is there a way to properly shut down a Plan 9 vm when the host/dom0 shuts
down?

Thank a lot for your help.
Nicolas



Re: [9fans] fossil pb: FOUND!

2012-01-13 Thread Nicolas Bercher

tlaro...@polynum.com a écrit :

I never thought that perhaps, under Unices, du(1) with hard links will
produce the same misleading result...


And fortunately, Unices 'du' handles this correctly!
(-l option toggles the counting of hardlinked files several times or
not)

Nicolas



Re: [9fans] copying over 9P using plan9port

2011-10-05 Thread Nicolas Bercher

On 04/10/2011 19:08, Jens Staal wrote:

When I then try something like

cp -ar sources/plan9/sys/src/ape ape

I get an error stating:
unexpected open flags 050cp: can not open
”sources/plan9/sys/src/ape/9src/mkfile” for reading: Access denied



Hi,

This is working for me without plan9port (Debian GNU/Linux):

  $ mkdir -p /n/sources
  $ mount -t 9p -o proto=tcp 204.178.31.11 /n/sources
  $ cp -ar /n/sources/plan9/sys/src/ape /tmp/ape

Nicolas



Re: [9fans] Intel atom system

2011-08-13 Thread Nicolas Bercher

On 12/08/2011 14:37, erik quanstrom wrote:

i think you can do better for less with this:

http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA-H-D525.cfm

it has better ethernet (intel 82574) and sm's mp tables are known
good enough for us.  here's the slightly slower version that i have used:

http://www.acmemicro.com/ShowProduct.aspx?pid=7749

and the -D525

http://www.provantage.com/supermicro-mbd-x7spa-h-d525~7SUPM3FU.htm

- erik



Btw, do you think this mb (foxconn 45CS, atom 230) would run Plan 9 ok for a 
file server?

http://www.foxconnchannel.com/product/Motherboards/detail_overview.aspx?ID=en-us404

Thank you,
Nicolas



Re: [9fans] fossil file system corrupts after a power cut

2011-07-27 Thread Nicolas Bercher

On 27/07/2011 10:39, kin loo wrote:

Thank you David du Colombier, it works. I can now use the most recent
score produced by dumpvacroots to restore  the active and archive data
in a new qemu image. But the original 9fat partition still keeps in
the old qcow2 image.

Maybe you can copy this qcow2 image and then play on the copy to reformat the fossil 
partition.


Nicolas



Re: [9fans] 9fans archive engine

2011-07-23 Thread Nicolas Bercher

On 14/07/2011 20:15, Jack Norton wrote:

Russ Cox wrote:

On Thu, Jul 14, 2011 at 10:28 AM, Yaroslav yari...@gmail.com wrote:

Is the software which powers 9fans web archive publicly available?


it's not.


ahem... let me put on my pedantic shoes...
9fans.net/archive wrote:
  powered by grep(1)  


So the source code is available right?! ;-)

Nicolas



Re: [9fans] novel userspace paradigms introduced by plan 9

2011-07-17 Thread Nicolas Bercher

On 03/07/2011 23:08, andrey mirtchovski wrote:

they've changed everything else in unix, why hold so tightly to the clearly
  unhelpful ideas?

because it's a cult. things don't make sense in cults. i encountered
the following quote the other day, which finally convinced me.


OK, maybe this is about cult, but the first paper I read about Plan 9 mentioned that Plan 
9 was born because it was too much complicated to fix Unix.  So, I see Plan 9 as a fork in 
the whole Unix history.  The rest of the *nix OSes are just pursuing their own ways with 
old fashioned concepts that are hard to remove, or maybe impossible.


Nicolas


PS: Andrey, I'm currently reading your master thesis.  I feel the same pleasure reading it 
as reading Linus stuff, because it is well written.  Linux is going his own way, with root 
and without private namaespaces, and still, I'm happy with that.




[9fans] Research labs using Plan 9 in France...?

2011-07-01 Thread Nicolas Bercher

Hi,

I'm currently looking for jobs in french research centers as a research engineer.  I found 
an open position in LIP (Lab of parallel programing, CNRS, Lyon, France) that is part of a 
joint research unit with the Bell Labs, but I can't find any reference to Plan 9 in their 
work.


Do you, Plan 9 lovers, know some research labs involved in research somehow related to 
Plan 9 or WORM systems?


I'm also interested in this because of a research project I'm involved in, about long-term 
data preservation, and we're looking for academic partners on the operating system aspects 
(we are also working a paper for the forthcoming IWP9 meeting to present our project).


Thanks,
Nicolas



[9fans] how to unlock screenlock?

2011-06-29 Thread Nicolas Bercher

Hi,

I read the man page saying how to unlock the screenshot.  But for sure typing the password 
and then enter didn't work for me.  Moreover, it is a little disappointing that nothing 
either move or changes on the screen while I'm typing, so I don't even know if my typing 
actually works!


So, what's the trick with this screenlock?

Thank you,
Nicolas.



Re: [9fans] Cheap ARM board to play with

2011-06-24 Thread Nicolas Bercher

On 24/06/2011 21:59, Jack Norton wrote:

All,

I just had to post this on 9fans. Sorry if everyone has already seen it.
http://www.mini-box.com/pico-SAM9G45-X


Sorry, I have not such experience yet.  However, this site might interest people that care 
about energy efficiency in their servers.


I discovered this vendor site one year ago while I was looking for very low-consumption 
hardware pieces.  I have to say that they have really interesting power supplies (among 
other hardware of course) called PicoPSU: they are fanless, very-very small and have 
~95% efficiency.  They are only DC/DC converters, so one must use an additional AC/DC 
power supply (like laptop power supplies).  Of course the overall effiency of 
AC/DC-DC/DC chain is still very interesting.


Nicolas



Re: [9fans] how to mount an inert fossil partition?

2011-06-10 Thread Nicolas Bercher

On 09/06/2011 07:46, Gabriel Díaz López de la llave wrote:

hello

first time you boot, fossil dumps the whole fs to venti, and that takes
a while, and also this can make your system look like hanged, iirc you
can see what venti is doing listing the processes with control+t-p iirc
if your shell is irresponsive or with ps -a.
The fact is that I new venti does this the first time Plna 9 boots.  But last time my 
system looked like hanged, it was maybe the 20th boot or whatever far from the first time, 
and just after I did some nasty config modifications.  (I did multiple tests under qemu 
with tun/tap interfaces and rebooted a lot).



may be we need to put a message on the first dump to warning the user :?

Maybe: if venti use to do snapshots on startup...? (but I'm quite sure it 
wasn't the case)

Nicolas



Re: [9fans] can't access fossil dumps anymore

2011-06-10 Thread Nicolas Bercher

On 09/06/2011 13:28, David du Colombier wrote:

- How do I achieve this?  (via fossilcons?)


If you really want to do this, keep in mind you will lose
all your data on your fossil partition. You will definitely
lose all the temporary snapshots and all data not archived
to venti.
First of all, thank you for theses clear explanations (typically the one I need as a 
beginner).  Does your answer implicitly means that this is the solution to the fossil 
message block label mismatch?


Nicolas



[9fans] how to mount an inert fossil partition?

2011-06-08 Thread Nicolas BERCHER

Hi everybody,

I've read a lot of documentation so far but I'm still not able to draw how to mount an 
inert fossil partition (i.e. available as a regular partition, but not used by the system).


I did some bad configuration and I can't boot my Plan 9.  So I try to use another Plan 9 
install to repair my conf.  Note that I use qemu (without its snapshoting opportunities, I 
know it's a shame!)


Or maybe there's another way 'from outer space' for doing such things...?

Thanks,
Nicolas



Re: [9fans] how to mount an inert fossil partition?

2011-06-08 Thread Nicolas BERCHER

On 08/06/2011 22:08, Skip Tavakkolian wrote:

if the fossil partition is /dev/sdC0/fossil on the cpu you're on, you
should be able to bring it up (assuming the configuration is sane)
using:

fossil/fossil -f /dev/sdC0/fossil
OK, among the things I tried, I did this and had some complaints because fossil couldn't 
connect to venti.  Now, I wonder where I can actually see the files it contains.  The 
above command started a new fie server instance, but I don't know yet how to attach it in 
my current rc namespace.


Sorry for the basic questions, diving into Plan 9 is somehow difficult for 
beginners.

Nicolas



Re: [9fans] how to mount an inert fossil partition?

2011-06-08 Thread Nicolas BERCHER

On 08/06/2011 23:36, Gabriel Díaz López de la llave wrote:

hello

if the system can't boot, what are the symptoms? any error messages?
can't find the kernel? can't find sd device?
Good point.  I don't really know what happened but the system started!  Last time I tried, 
I waited tens of minutes and it really looked... dead (after dialing venti (ok), and 
can't find my ip address).
I suspected two things that would explain my problems: (1) I couldn't access to /n/dump 
and get error messages ('block label mismatch') and (2) I modified a lot my /lib/ndb/local 
file to setup my network.  So I thought the system was (1) checking file system 
consistency or (2) waiting for the auth server to respond or something like that (I know I 
speculated a lot here, but that was my intuition).



if you used fossil+venti installation, you need to start venti server
before fossil.

This is done out of the box.

Nicolas



[9fans] can't access fossil dumps anymore

2011-06-08 Thread Nicolas BERCHER

Hi (again),

I can't access the fossil dumps on my recent Plan 9 (fossil+venti) 
installation.  I can:

  term% 9fs dump

but can't list the dump directory content:

  term% ls -l /n/dump
  ls: /n/dump: block label mismatch

I also have 'overprinted black background messages of the death' saying:

  /boot/fossil: cacheLocalData: addr=427 type got 8 exp 0: tag got 142e41e4 exp 
142e41e4

So my questions are:

- Do I have real troubles here?

- I read on the list that this can be solved by restoring back the latest fossil dump 
saved to venti.  Is that right in my case?


- How do I achieve this?  (via fossilcons?)


Thanks a lot for your advices,
Nicolas



Re: [9fans] Hey, new to this. Trying to get plan9 to work in a VM.

2011-06-06 Thread Nicolas BERCHER

On 05/06/2011 08:18, Josh Marshall wrote:

I'm chugging through the resources, reading, and documentation.  This
system acts differently from anything I've previously used, so I'm at a
loss at...everything.  I visited the IRC channel and am working through
the .pdf and the main site.  Is there anything else I should be looking
into?  Also, the .pdf said that I should have a working plan9 install
available to practice, so I tried using vmplayer but the kernel panics.
I'm learning, but not well acquainted with kernel programming,
debugging, or anything else.  Also, if this all seems kind of
incoherent, I'm sorry, its past 2am and I've been working on absorbing
info for over 4 hours.


Hi,

I recently installed Plan 9 (the real one from the Bell Labs) on qemu (hosted by a 32bits 
Debian).   Since kvm and qemu share the same user interface (yes I'm talking about command 
line), I use kvm to get the benefice of my intel cpu that is vmx-aware (aka VT-x).



If you are already familiar with partitioning disks, it should be relatively easy for you 
to install Plan 9.  It is quite simple, even with fossil+venti option.  The installer 
will propose you a partition map that you can accept at first.


Nicolas

Ps: in my installation, I wanted to use two qemu hard drive images: one for Plan 9/fossil 
and another one for venti (the later contains a first partition for the arenas, it uses 
95% of the disk, and the second partition uses 5% of the disk and is used for the venti 
index).