9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Peter A. Cejchan" <pac@next.gli.cas.cz>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mount problems
Date: Mon, 20 May 2002 12:05:46 +0200	[thread overview]
Message-ID: <20020520120546.A214@next.gli.cas.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 32 bytes --]

See attached file.
--
++pac.

[-- Attachment #2: problem --]
[-- Type: text/plain, Size: 2526 bytes --]

##########################
1st: sorry for posting previous two idiotic questions -those about quickblank and cd-writer slowdown: I read the manual and took a rest...
##########################
# however, the mounting problem persists:
#
#
term% 9660srv
9660srv 231: /srv/9660: srv file already exists
term% p=`{ps|grep 9660srv|awk '{print $2}'}
term% mount /srv/9660 /n/dist /usr/pac/burn/9new/mosml.iso
term% grep iso /proc/$p/fd
  7 rw M    8 (0000000000006b4f 1636 00)  8192        0 /usr/pac/burn/9new/mosml.iso
term% unmount /n/dist
term% grep iso /proc/$p/fd
term% mount /srv/9660 /n/dist /usr/pac/burn/9new/python.iso
term% grep iso /proc/$p/fd
  6 rw M    8 (0000000000005fac 3082 00)  8192        0 /usr/pac/burn/9new/python.iso
term%


#########################
## the problem persists even with cdroms:
#
term% mntcd
ls /n/cd/pc0016
term% ls /n/cd/pc0016
/n/cd/pc0016/CONTENTS
/n/cd/pc0016/lit
/n/cd/pc0016/ls-lR
term% ls /n/cd/pc0016/lit/bio/journals/bio/1
/n/cd/pc0016/lit/bio/journals/bio/1/0077a.pdf
/n/cd/pc0016/lit/bio/journals/bio/1/0079a.pdf
/n/cd/pc0016/lit/bio/journals/bio/1/0080a.pdf
.....
term% page -p 140 /n/cd/pc0016/lit/bio/journals/bio/1/0077a.pdf
reading through pdf...
term% um # unmount all

### changing cd to pc0005
term% ls /n/cd
term% mntcd
/n/cd/pc0016
term% halt
# Ctl-T Ctl-T R

term% mntcd
/n/cd/pc0005
term% #now changing it back to 0016, without reboot
term% um
term% mntcd
/n/cd/pc0005
term% ls /n/cd/pc0005/lit/bio/complexity
/n/cd/pc0005/lit/bio/complexity/CONTENTS
/n/cd/pc0005/lit/bio/complexity/bs-1999-50-001.pdf
term% page /n/cd/pc0005/lit/bio/complexity/bs-1999-50-001.pdf
reading through pdf...  ## perfectly readable, although IT ISN'T ON CD, see below
term% ## now going down to reboot
term% halt
# Ctl-T Ctl-T R

term% mntcd ## the same one
/n/cd/pc0016
term% ls /n/cd/pc0005/lit/bio/complexity/bs-1999-50-001.pdf
ls: /n/cd/pc0005/lit/bio/complexity/bs-1999-50-001.pdf: '/n/cd/pc0005' file does not exist
term%


I am curious. Nobody else met this behaviour?

And yes, here is the "mntcd" script
term% cat /bin/mntcd
#!/bin/rc
if(! test -f /srv/9660)
	9660srv  >/dev/null </dev/null >[2]/dev/null
if(! test -d /n/cd)
	{allow; mkdir /n/cd; disallow}
if(! test -f /mnt/cd/wd)
	cdfs -d /dev/sdC1 >/dev/null </dev/null >[2]/dev/null
unmount /n/cd >[2]/dev/null
if (mount -c /srv/9660  /n/cd  /mnt/cd/d000)
	ls /n/cd
if not (echo  ERROR MOUNTING CD)
#
# -eof-Thu May 16 14:34:59 EDT 2002



             reply	other threads:[~2002-05-20 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-20 10:05 Peter A. Cejchan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-17 14:11 rsc
2002-05-17 14:09 Peter A. Cejchan
2002-05-16  8:56 Russ Cox
2002-05-16  6:25 Peter A. Cejchan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020520120546.A214@next.gli.cas.cz \
    --to=pac@next.gli.cas.cz \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).