-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi !
Is there an equivalent of /etc/mtab (from Linux) in FreeBSD ?
I have a script which besides doing a lot of things, must mount a
filesystem if it is not already mounted, so I wanted to use an mtab
like file to check my mount status.
Thanks
I have a script which besides doing a lot of things, must mount a
filesystem if it is not already mounted, so I wanted to use an mtab
like file to check my mount status.
With the mount(8) command?
# mount [-v|-p]
--
-jg.
___
[EMAIL PROTECTED
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 16 June 2003 11:32, Julien Gabel wrote:
With the mount(8) command?
# mount [-v|-p]
Yes, this is what I was thinking about, but I just wanted to know if an
mtab equivalent existed :)
Thanks.
- --
Antoine Jacoutot
[EMAIL PROTECTED]
http
Hi,
What you might be looking for is /etc/fstab ...
HTH
Ian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Antoine
Jacoutot
Sent: 16 June 2003 11:43 AM
To: Julien Gabel
Cc: [EMAIL PROTECTED]
Subject: Re: mtab
-BEGIN PGP SIGNED MESSAGE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 16 June 2003 12:44, Ian Barnes wrote:
What you might be looking for is /etc/fstab ...
Hum, no, fstab is not mtab, it does not say which filesystem are
mounted.
But thanks.
Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2
Antoine Jacoutot [EMAIL PROTECTED] writes:
On Monday 16 June 2003 11:32, Julien Gabel wrote:
With the mount(8) command?
# mount [-v|-p]
Yes, this is what I was thinking about, but I just wanted to know if an
mtab equivalent existed :)
What does mtab contain that the output of mount(8
On Mon, 16 Jun 2003 12:59:31 +0200
Antoine Jacoutot [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 16 June 2003 12:44, Ian Barnes wrote:
What you might be looking for is /etc/fstab ...
Hum, no, fstab is not mtab, it does not say which filesystem
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 16 June 2003 13:50, Lowell Gilbert wrote:
What does mtab contain that the output of mount(8) doesn't?
Nothing, it was just an easy way to parse, that's all.
Thanks.
- --
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
pgp key
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well, it shows how many filesystems are mounted at boot time on a
determined machine, and these are usually the same that are kept
mounted all the time. I would either use /etc/fstab or a stripped
output from the mount command, but these are only