From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17770 invoked from network); 11 Apr 2002 20:10:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Apr 2002 20:10:18 -0000 Received: (qmail 11125 invoked by alias); 11 Apr 2002 20:10:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16966 Received: (qmail 11094 invoked from network); 11 Apr 2002 20:10:07 -0000 Date: Thu, 11 Apr 2002 16:10:05 -0400 From: Jason Price To: zsh-workers@sunsite.dk Subject: _mount linux centric? Message-ID: <20020411161005.A29774@oobleck.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i _mount under solaris doesn't work. It gives an error of: _mount:758: no such file or directory: /etc/mtab Mainly because the same file is called /etc/mntab rather than /etc/mtab. I'm not good enough to translate the function. However the format is very similar: >>From the man page for mnttab under solaris 8 (and I believe it's good going back to at least solaris 2.6.): ----------------------------------------------------------------------- Each entry is a line of fields separated by spaces in the form: special mount_point fstype options time where special The name of the resource to be mounted. mount_point The pathname of the directory on which the filesystem is mounted. fstype The file system type of the mounted file system. options The mount options. (See respective mount file system man page in SEE ALSO.) time The time at which the file system was mounted. ----------------------------------------------------------------------- And under debian it seems to be: special mount_point fstype options ??? ??? So the conversion SHOULD be simple... However s,/etc/mtab,/etc/mnttab,g didn't work. --Jason -- "Friendship is the bridge between lonely and loved, between a glance and a gaze. It stretches from the fog into sunshine, hopelessness into faith, between despair and joy. It crosses the chasm from hell and to heaven, from God to man, and from you to me." --Unknown Jason Price jprice@gatech.edu