major/minor device?

Bjorn Engsig bengsig at dk.oracle.com
Tue Apr 2 21:48:30 AEST 1991


Article <27ee5738.4ab0 at petunia.CalPoly.EDU> by cknight at polyslo.CalPoly.EDU (King Claudius) says:
|
|
|[using PS/2 and 370 arch]
|I'm trying to figure out how to find a filesystem's major/minor # for use in
|the quota library call.
Others have said that you don't really need the major/minor numbers.  But for
the next case:

  The st_rdev field of the stat structure returned by any call from the stat
  family has major and minor numbers packed as to shorts into a long.
-- 
Bjorn Engsig, ORACLE Corporation, E-mail: bengsig at oracle.com, bengsig at oracle.nl



More information about the Comp.unix.aix mailing list