Re: Reading /etc/fstab
Re: Reading /etc/fstab
- Subject: Re: Reading /etc/fstab
- From: Stefan Arentz <email@hidden>
- Date: Mon, 4 Jun 2001 13:31:23 +0200
On Mon, Jun 04, 2001 at 08:46:59AM +0900, Kogule, Ryo wrote:
>
Hi forks.
>
>
How could I get the mount information in /etc/fstab with Cocoa? First I've
>
used <fstab.h> functions i.e. setfsent(), getfsent() and so on. However they
>
don't read /etc/fstab information but NetInfo's. Are there any convenient
>
way to read /etc/fstab? Or should I read /etc/fstab directly?
No you really should use the API in fstab.h instead of reading the
fstab file directly. It's correct that the info is in netinfo.
Stefan