zsh-workers
 help / color / mirror / code / Atom feed
From: Jason Price <jprice@cyberbuzz.gatech.edu>
To: zsh-workers@sunsite.dk
Subject: _mount linux centric?
Date: Thu, 11 Apr 2002 16:10:05 -0400	[thread overview]
Message-ID: <20020411161005.A29774@oobleck.gatech.edu> (raw)

_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


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11 20:10 Jason Price [this message]
2002-04-11 21:33 ` Bart Schaefer
2002-04-12  3:52   ` Jason Price

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=20020411161005.A29774@oobleck.gatech.edu \
    --to=jprice@cyberbuzz.gatech.edu \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).