[comp.os.minix] Minix 1.5 problems

rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) (05/13/91)

I have installed plain PH 1.5 on my '386 and got some minor problems I
would like to ask about:

1. When I call the id command from any user, I always get uid=gid=0,
i.e. root. Consequently, the shell test 2 fails. Can this have a
relation to the fact that I have deleted the passwords from /etc/passwd
for root and an additional user "user" I have created? I use the machine
only myself so I find it boring always to enter passwords.

2. NULL is defined differently in several headers and the C compiler
heavily complains about it's incompatibility in several comparisons such
as

	FILE *file
	.
	.
	if ( file == NULL )
	.

I cannot imagine why any C compiler should give a waring here when
NULL is defined as (void *)0.

3. I cannot dosread/doswrite on 1.44 M disks on /dev/fd0. I get no error
message nor warning but I don't get my files, too.

4. __DATE__ is incorrectly defined in the C preprocessor as the raw
ctime() output which includes a trailing newline. No C compiler will
ever accept this expanded macro as input. Has nobody ever used __DATE__
until now :-( ?

5. In which range can the buffer cache size changed? The default is 32.
I have 8 MB of RAM and thus could spend more for buffers ...

6. mkfs cannot make file systems bigger than 32M. 64M should be
possible. Any fixes available for this?

7. The partition sizes to give as arguments to /etc/setup_root are very
big for my disk, ~245000 for my DOS partition. A ll /dev then shows
negative sizes for /dev/hd1. Does this harm?

8. Does 1.5 support a second hard disk?

Thanks for any hints,
Kai Uwe Rommel

/* Kai Uwe Rommel, Munich ----- rommel@lan.informatik.tu-muenchen.dbp.de */

DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be.                -Russell Williams

v882087@si.hhs.nl (05/18/91)

In article <9105132034.AA26810@mcsun.EU.net> you write:
>I have installed plain PH 1.5 on my '386 and got some minor problems I
>would like to ask about:
>
>1. When I call the id command from any user, I always get uid=gid=0,
>I use the machine only myself so I find it boring always to enter passwords.

You did better if you just removed all copies of login from the system.
This way, you won't have to login at all
>
>2. NULL is defined differently in several headers and the C compiler
>heavily complains about it's incompatibility in several comparisons such
>as
>
>	FILE *file
>	.
>	.
>	if ( file == NULL )
>	.
>
>I cannot imagine why any C compiler should give a waring here when
>NULL is defined as (void *)0.

Just type an #undef NULL and a new #define NULL to your compiler,
everything will be OK (I know, it is kluged, and not a real solution).

>8. Does 1.5 support a second hard disk?

Yes, I have my minix installed on my second harddisk (dos drive D:)
just create five additional hd devices 5-9 with 5 being the entire hd etc
(compare with hd0 1 2 3 4 ).

>Thanks for any hints,
>Kai Uwe Rommel

Your welcome


-- 
|   |   /   Hans Voss              <v882087@si.hhs.nl>
|___|  /    Parkweg 200          +---------------------------------------------
|   | /     3134 VS  VLAARDINGEN | THE ANSWER:  --  42  --
|   |/      The Netherlands      |