mtab
-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. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7Y1ZY3Hnhkr+5cQRAgkzAJwPm6DNzKSoP1lVYAjw5u+XtAy8egCdEFrE lKqCe+PPpWeDxPaMkdQvVAU= =pXrc -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
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] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-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://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7ZELY3Hnhkr+5cQRAlX9AJ9Nljd+qjTVj7SPIcdpXVc45FiHtACdHGFy +SE46/kAk5AUTh8dQRbH88A= =ud5b -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mtab
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- 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://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7ZELY3Hnhkr+5cQRAlX9AJ9Nljd+qjTVj7SPIcdpXVc45FiHtACdHGFy +SE46/kAk5AUTh8dQRbH88A= =ud5b -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-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 (FreeBSD) iD8DBQE+7aMWY3Hnhkr+5cQRAqmqAJ4viaIWzJfWGhYtz7SRLtqphcIaGACeIUDJ S5nUvPs1kW70h9D3nyGY/y0= =P8Cn -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
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) doesn't? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
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 are mounted. But thanks. 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 my 0.02euro... Ciao ciao -- Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia WillyStudios.com | http://www.gufi.org [EMAIL PROTECTED] | [EMAIL PROTECTED] People who make no mistakes do not usually make anything ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-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: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7dMZY3Hnhkr+5cQRApQZAJ9g11ScHOKB3K/NKjx0GElS3bvJCACdEYMp yOR4iZSlKY15UOM8ZCye6co= =Bwap -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-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 my 0.02euro... Well, the different drives that need to be mounted are not in fstab. But nevermind, I'll find a way with the output of mount -p. Thanks. Antoine -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7dNaY3Hnhkr+5cQRAq7fAJ9SbbFPQ4l9f6JChPA0u3jNWffzvACgh02h pQRrLTGNC6m/DLmL2u/52Hc= =0NAx -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]