[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: novice questions

From: Marcus Brinkmann
Subject: Re: novice questions
Date: Thu, 26 Oct 2000 20:45:06 +0200
User-agent: Mutt/1.1.4i

On Thu, Oct 26, 2000 at 05:07:56PM +0200, Manfred Hansen wrote:
> I have installed hurd from the freeX magazine.
> Thanks to Marcus Brinmann

Thanks for trying it :)

> First question
> I canĀ“t find a proc filesystem

There is no proc filesystem on the Hurd, this information being distributed
by the various servers themselves (the proc server provides the process info
etc). the libraries can help to contact the servers and get the data from
them. However, Neal Walfield implemented a procfs server which can be
attached to the /proc node, which provides at least some of the data found
there. Find it at
> Secend question
> Gives there a strace command ?

No. For debugging we use the GNU debugger gdb. strace traces syscall()'s,
which is useful on conventional UNIX systems, where most of the
functionality of a OS is provided by kernel syscalls. But on the Hurd, the
functionality is provided by the C library and several servers, so the
syscall invocations don't tell you a lot. However, there is rpctrace to find
out the messages sent to and fro the servers, although decoding the message
id is boring work.

Luckily, gdb can be attached to the Hurd servers, and so you can easily
debugging them.

> Third
> I have mounted the cdrom with
> settrans -a /cdrom /hurd/isofs /cdrom
> but how can i unmount the cdrom. 
> I try settrans /cdrom   but there appears a message "resource are busy" 
> And i try settrans -fg /cdrom . I believe the cdrom is unmounted
> but i can't open the cdrom drive.

Yes, that's a bug. The CD-ROM door is locked and not released. In
oskit-mach, this should not be an issue, and with GNU Mach, well, we can fix
it, but it isn't top priority currently (although it is certainly an
important issue). I think I will soon take a look at it again.


`Rhubarb is no Egyptian god.' Debian
Marcus Brinkmann              GNU

reply via email to

[Prev in Thread] Current Thread [Next in Thread]