SUMMARY: setmnt

From: Rick Dipper <rick_at_UnglaublichIT.com>
Date: Fri Jan 11 2002 - 15:40:02 EST
ORIGNAL QUESTION
=================


In Solaris-8 setmnt is a "Deprechiated Utility", and don't work, 
anyone know what the replacement is ?

AMOST THE ANSWER
================
From: Casper Dik <Casper.Dik@Sun.COM>

"setmnt" was needed because in earlier releases, /etc/mnttab was mai
ntained by mount/automount but early in boot, / is read only and the
first moutns can be recorded.

In S8, /etc/mnttab is a device special file; it contains the actual mount
table as stored in the kernel.  It is therefor always right and needs to
"setmnt" operations.

Casper

THE CORRECT ANSWER
==================

Casper got me going in the right direction, /etc/mnttab is mounted
real early on in the boot process, with a special filesystem type of
mnttab.

This gives the /etc/mnttab file which looks like a file, some 
special un-file like properties.

Rick
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 11 14:40:14 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:32 EST