Which file system?

Oliver Laumann net at tub.UUCP
Thu Apr 12 23:49:58 AEST 1990


In article <1990Apr11.091700.1253 at cs.eur.nl> reino at cs.eur.nl (Reino de Boer) writes:
> Is there a way (in C, perl, etc.) to check which filesystem a file 
> belongs to ?

Under Berkeley-UNIX and SunOS:  df filename
Under System V and SunOS:       devnm filename

Regards,
--
Oliver Laumann     net at TUB.BITNET     net at tub.cs.tu-berlin.de     net at tub.UUCP



More information about the Comp.unix.questions mailing list