Date: Wed, 17 Aug 2005 13:09:11 -0700 (PDT) From: Philip Hallstrom <freebsd@philip.pjkh.com> To: "Jorge Mario G. Mazo" <murcielako@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: how to know the file system type [programming] Message-ID: <20050817130850.C51922@wolf.pjkh.com> In-Reply-To: <20050817195522.28381.qmail@web50101.mail.yahoo.com> References: <20050817195522.28381.qmail@web50101.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> hi there > I've been looking for a way to check the fs type > I need to do something like this > > if NTFS do this > if msdis do that > if ufs2 do that > if ext2 do this other stuff Parse /etc/fstab? I'm sure there are lots of other ways too...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050817130850.C51922>