delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
Message-Id: | <199901171652.RAA20764@father.ludd.luth.se> |
Subject: | Re: FAT32 and removable drives |
To: | djgpp-workers AT delorie DOT com (DJGPP-WORKERS) |
Date: | Sun, 17 Jan 1999 17:52:36 +0100 (MET) |
X-Mailer: | ELM [version 2.4ME+ PL15 (25)] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Ho-hum. Well I propose to make the functions media_type() and is_{ram,cdrom}_drive() from libc/compat/mntent/mntent.c generally available (they are static in mntent.c). Possibly adding an "_" in front of them if it's necessary. This is so we can check if it's a hard disk or a removable media (media_type) and the two is_ functions is necessary as media_type() can lie about those two kinds of disks. Any comments? Genesis, Selling England by the Pound, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |