lotus

previous page: 69 m. How do I convert the old password files from Professional MachTen toPower MachTen?
  
page up: MachTen & CodeBuilder FAQ
  
next page: 71 r. I lost my root password, how can I recover it?

70 p. How can I safely mount a device to the /volume directory in PowerMachTen?




Description

This article is from the MachTen & CodeBuilder FAQ, by Jaime Julca jjulca@tenon.com with numerous contributions by others.

70 p. How can I safely mount a device to the /volume directory in PowerMachTen?

On Power MachTen startup, as part of the cleanup, MachTen deletes the
contents of the /volume directory. Potential results, if a disk or partition
is mounted to /volume using /etc/fstab are obvious. The following changes to
"/etc/rc" will solve the problem. Details about "/volume" and its
directories are included below. In "/etc/rc" change:

$ECHO -n " /volume"; cd /volume && $RM -fr *

to:

$ECHO -n " /volume"; cd /volume && /bin/rmdir * 2>/dev/null

The intent of cleaning "/volume" is to remove old directory entries which
were previously used as mount points for Macintosh volumes, NOT the contents
of any volume currently mounted there! "rmdir" will remove a directory
if-and-only-if it is empty and not mounted on, which is what we want.
Directory entries are created in "/volume" by "macmntd(8)". Macmntd get a
signal when a removable Mac volume comes online. It gleans the name of the
new Macintosh volume, then check "/etc/fstab" for an entry dictating where
to mount this volume. If no entry exists in fstab, macmntd creates a
directory in "/volume", using the Macintosh volume name. It then mounts the
new Mac volume on this directory. When the removable volume is ejected, or
MachTen quits, the directory entry remains in "/volume". Thus "/volume"
could, over time, get cluttered with directory entries.

G7.q. How do I change the login banner of MachTen/CodeBuilder?

Change the default entry in the /etc/gettytab file. This is the line to
change:

default:\

 

Continue to:













TOP
previous page: 69 m. How do I convert the old password files from Professional MachTen toPower MachTen?
  
page up: MachTen & CodeBuilder FAQ
  
next page: 71 r. I lost my root password, how can I recover it?