From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,5e408bcd9c931159 X-Google-Attributes: gidf678f,public From: muehleba@fh-aargau.ch (Muehlebach Stefan) Subject: Re: Questions concerning umount on Digital Unix as compared to Linux..... Date: 1998/07/28 Message-ID: <6pjr8c$l4f$1@ubnnews.unisource.ch>#1/1 X-Deja-AN: 375569542 References: <35BA9A97.97D704EB@plutonium.net> X-Complaints-To: news@ubnnews.unisource.ch X-Trace: ubnnews.unisource.ch 901607500 21647 (None) 147.86.130.236 Organization: Unisource Business Networks Newsgroups: comp.unix.osf.misc In article <35BA9A97.97D704EB@plutonium.net> "Steven J. Hill" writes: > Greetings. > > I am currently writing some software that will eventually compile > on most of the major UNIX platforms. I am having a problem with > the umount command. In the OSF header file it shows the prototype > as: > > extern int umount( char *, int ); > > whereas in my Linux header file it is: > > extern int umount __P ((__const char* __specialfile)); > > What is the second argument value in the OSF call? Thanks in > advance. > > > Steve Well... have a look at the OSF man-pages (umount(2)): umount( char *mnt-path, int umnt_flag ); .. mnt-path Points to a null-terminated string that contains the appropriate pathname. .. umnt_flag Specifies one of the following values: MNT_FORCE The file system should be forcibly umounted even if files are still active. Active special devices con- tinue to work, but any further accesses to any other active files result in errors even if the file system is later remounted. Support for a forcible unmount is file system dependent. .. Hope that will help you.