Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Unneeded Writes to System Disk?
@ 1998-02-08  5:00 root
  1998-02-08  5:00 ` Gerald A. Feldman
  0 siblings, 1 reply; 3+ messages in thread
From: root @ 1998-02-08  5:00 UTC (permalink / raw)



There seem to be plenty of unneeded writes to the system disk under
DUX, and under other Unices as well.

Any 'ls', 'cat', '/bin/sh' etc. updates the file's access time. The
net result is that there are writes to /usr, which are not really
needed. And writes to '/', of course.

Under some Unices one may mount /usr readonly, this requires a
separate /var. Under DUX this requires some reconfig of /usr, as for
building a new kernel etc. write access is required.

Though this is feasible, if would have the bad taste of being 'not
supported'. Updates might fail etc. I can do that with my station,
but not with a customer's system.

Inode updates in /tmp (which might/should be a link to /var/tmp) do
make sense, cause then a cron job can clean out old stuff.

Don't know what happens with directories, the problem might be
similar.

I think this would be unneeded overhead, especially in a multi-CPU
Turbolaser.

Are there any optimizations in AdvFS taking care of this? Does the
above 'problem' exist or am I missing something?

Thanks		Ruediger

--
------------------------------------------------------------------------------
Ruediger Schuetz                                  Phone/Fax: 00 49-89-65 81 92
Edlinger Platz 4
81543 Muenchen                              Ruediger.Schuetz@Munich.Netsurf.DE
Germany
------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unneeded Writes to System Disk?
  1998-02-08  5:00 Unneeded Writes to System Disk? root
@ 1998-02-08  5:00 ` Gerald A. Feldman
  1998-02-09  5:00   ` John Hascall
  0 siblings, 1 reply; 3+ messages in thread
From: Gerald A. Feldman @ 1998-02-08  5:00 UTC (permalink / raw)



Ruediger.Schuetz@Munich.Netsurf.DEwrote:

> Inode updates in /tmp (which might/should be a link to /var/tmp) do
> make sense, cause then a cron job can clean out old stuff.
-
It is a very bad idea to make /tmp a symbolic link. The /tmp directory
is needed when the system is in single user mode. A better way to do it
is to mount a file system as /tmp. One way to do this if you do not have
an additional partition to use as tmp is to export /var/tmp, and nfs
mount it as /tmp (I know this sucks too).


-- 
 Jerry Feldman <gaf@mediaone.net>
 Boston Computer Solutions and Consulting
 http://gaf.ne.mediaone.net/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unneeded Writes to System Disk?
  1998-02-08  5:00 ` Gerald A. Feldman
@ 1998-02-09  5:00   ` John Hascall
  0 siblings, 0 replies; 3+ messages in thread
From: John Hascall @ 1998-02-09  5:00 UTC (permalink / raw)



Gerald A. Feldman <foobar@foo.bar> wrote:
}Ruediger.Schuetz@Munich.Netsurf.DEwrote:
}> Inode updates in /tmp (which might/should be a link to /var/tmp) do
}> make sense, cause then a cron job can clean out old stuff.

}It is a very bad idea to make /tmp a symbolic link. The /tmp directory
}is needed when the system is in single user mode.

      # mv /tmp /Tmp
      # mkdir /tmp
      # chmod 1777 /tmp
      (do whatever)
      # rm -rf /tmp
      # mv /Tmp /tmp

A little bit of extra work, but, in general, not a big deal.

John
-- 
John Hascall, Software Engr.        Shut up, be happy.  The conveniences you
ISU Computation Center              demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html  <-- the usual crud



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-02-09  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-08  5:00 Unneeded Writes to System Disk? root
1998-02-08  5:00 ` Gerald A. Feldman
1998-02-09  5:00   ` John Hascall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox