• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading /etc/fstab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Reading /etc/fstab
      • From: "Kogule, Ryo" <email@hidden>
References: 
 >Reading /etc/fstab (From: "Kogule, Ryo" <email@hidden>)

  • Prev by Date: Re: problem with drawer
  • Next by Date: Re: HFS volume name and its device file
  • Previous by thread: Reading /etc/fstab
  • Next by thread: Re: Reading /etc/fstab
  • Index(es):
    • Date
    • Thread