bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

findutils - please update for AIX


From: Doug VanLeuven
Subject: findutils - please update for AIX
Date: Fri, 28 Mar 2003 12:08:18 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Hi,
AIX sorely needs some additional entries for fstype.
Would you please consider adding some additional types?

MNT_AIX is a synonym for MNT_J2 and actually refers to
journal file systems version 2 which have support for files > 2G.
NFS version 3 mounts report differently as MNT_NFS3.
AIX 5L has support for /proc filesystem MNT_AUTOFS.
NFS automounts show up as MNT_AUTOFS regardless of NFS version.

These defines are valid for AIX 4.3.3 and 5.1
I don't have access to any other AIX versions.

--- fstype.c.orig       Thu Mar 20 12:53:26 2003
+++ fstype.c    Mon Mar 24 07:49:00 2003
@@ -136,6 +136,8 @@
   switch (t)
     {
     case MNT_AIX:
+    case MNT_J2:
+      return "jfs2";
 #if 0                          /* NFS filesystems are actually MNT_AIX. */
       return "aix";
 #endif
@@ -145,6 +147,12 @@
       return "jfs";
     case MNT_CDROM:
       return "cdrom";
+    case MNT_PROCFS:
+      return "proc";
+    case MNT_NFS3:
+      return "nfs3";
+    case MNT_AUTOFS:
+      return "autofs";
     default:
       return "?";
     }

--
Doug VanLeuven : 707-545-6945 (voice) 707-545-6945 (fax)
Programmer/Analyst, SCWA : address@hidden
Chief Engineer, USMM : address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]