[comp.os.minix] A few minor questions

wtoomey@gara.une.oz (Warren Toomey) (01/01/89)

Just a few questions!

How can I kill/restart the shell on the serial port? So far all attempts
have failed.

Is is possible to mount a floppy/hard disk partition on /tmp? When I
try all I get is a 'mount: Device busy' message.

Just been rebuilding my disk partitions, and mkfs gets upset if I
specify a partition size > 8500 blocks. Perhaps its because I'm
using an XT driver hacked to get the Seagate ST238R to go.

Kermit works perfectly on my 10MHz XT at 2400 baud, no lost packets, but
it doesn't seem to be able to send breaks. To login on our mainframe, I've
got to drag over another terminal, send a break with it, and plug the XT
back in. Anybody else have this trouble?

And finally, someone mentioned that some patching would allow the
/dev/hd3 partition to be mounted directly, with no need for a RAM disk.
Did I miss it as it went passed? Any references to postings would be
helpful.

That's about it. Happy New Year eveyone !!

					Warren Toomey.
					(wtoomey@gara.une.oz)

allbery@ncoast.UUCP (Brandon S. Allbery) (01/08/89)

As quoted from <557@gara.une.oz> by wtoomey@gara.une.oz (Warren Toomey):
+---------------
| Is is possible to mount a floppy/hard disk partition on /tmp? When I
| try all I get is a 'mount: Device busy' message.
+---------------

I was confused by this for a while as well.  However, a look in the sources
shows that a directory which is open()'ed cannot be mounted upon... and
/etc/update open()'s /tmp to keep the inode in core for fast access.  So:
either mount /tmp before starting /etc/update in /etc/rc (this is what I do)
or kill update, mount it, and restart update.

++Brandon
-- 
Brandon S. Allbery, comp.sources.misc moderator and one admin of ncoast PA UN*X
uunet!hal.cwru.edu!ncoast!allbery		    ncoast!allbery@hal.cwru.edu
 ncoast is registering as "ncoast.org" -- watch for the official announcement!
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>.

jeff@questar.QUESTAR.MN.ORG (Jeff Holmes) (01/13/89)

In article <13313@ncoast.UUCP> allbery@ncoast.UUCP (Brandon S. Allbery) writes:
> or kill update, mount it, and restart update.
     ^^^^^^^^^^^
> 
> ++Brandon

	This is off the track, but with version 1.2 (which doesn't
	have a 'ps') how do you kill a process that you don't have a
	process id for?

	-jeff-
-- 
Jeff Holmes	                  DOMAIN: jeff@questar.mn.org 
Questar Data Systems                UUCP: amdahl!bungia!questar!jeff

ast@cs.vu.nl (Andy Tanenbaum) (01/14/89)

In article <2060@questar.QUESTAR.MN.ORG> jeff@questar.QUESTAR.MN.ORG (Jeff Holmes) writes:
>	how do you kill a process that you don't have a
>	process id for?

The F1 key gives a display similar to ps and includes the pid.

Andy Tanenbaum (ast@cs.vu.nl)

allbery@ncoast.UUCP (Brandon S. Allbery) (01/20/89)

As quoted from <2060@questar.QUESTAR.MN.ORG> by jeff@questar.QUESTAR.MN.ORG (Jeff Holmes):
+---------------
| In article <13313@ncoast.UUCP> allbery@ncoast.UUCP (Brandon S. Allbery) writes:
| > or kill update, mount it, and restart update.
|      ^^^^^^^^^^^
| > 
| > ++Brandon
| 
| 	This is off the track, but with version 1.2 (which doesn't
| 	have a 'ps') how do you kill a process that you don't have a
| 	process id for?
+---------------

Since I did this manually, I just used F1 to glean the process ID.
(Nowadays my /etc/rc mounts the hard drive before starting update.)  I'm
using Minix 1.1 with the 1.2 HD driver, and am still waiting for P-H to
announce the availability of the official 1.3 update (rather than get kicked
off UUNET for FTP'ing it on their dime...).

++Brandon
-- 
Brandon S. Allbery, moderator of comp.sources.misc    allbery@ncoast.org (soon)
uunet!hal.cwru.edu!ncoast!allbery		    ncoast!allbery@hal.cwru.edu
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser