1748176 Members
4358 Online
108758 Solutions
New Discussion юеВ

Re: umount and option -s

 
Eric SAUBIGNAC
Honored Contributor

umount and option -s

Bonjour,

Yet an other silly question : umount has a "-s" option. But what does it stand for ?

I can't find any documentation about it. But it exists :

root@ockham:/#umount

usage: umount [-V] [-v] [-f] [-s] { special | directory }
umount [-F FStype] [-v] [-f] [-s] [-h host] -a

You can also find some comments, very few in fact, about -s in MC/ServiceGuard package configuration files ...

I guess it has the same behaviour than the same "-s" option in fsck : no sync is done when unmounting a FS.

Could someone point a document that will confirm or counter my understanding ?

Thanks in advance

Eric

6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: umount and option -s

What version of the operating system do you see this on? On my HP-UX 11.11 system, there is no '-s' option.

Eric SAUBIGNAC
Honored Contributor

Re: umount and option -s

HP-UX 11.31, Patrick.

But as far I remember "-s" option was also mentioned in package configuration files with HP-UX 11.23. Not sure with 11.11, but I think it was too.
Ismail Azad
Esteemed Contributor

Re: umount and option -s

Hello eric,

Looks like it's a really rare option and it is even more strange that it's hardly documented anywhere even in the manual page and there is_an_example with the -s option in the pkg configuration file!. And the only one point I could find is that -s with umount gives_better_performance.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Eric SAUBIGNAC
Honored Contributor

Re: umount and option -s

Bonjour Ismail,

"Better performances". That's the heart of my question : better performances vs what ?

Eric
Ismail Azad
Esteemed Contributor

Re: umount and option -s

Bonsoir eric,

Well that performance vs. what is a pretty difficult question as this mysterious option is documented in microscopic places. Well what I understood is this option when used in a SG environment with a package having many filesystems in turn increases the performance of the environment and looks like that is the most useful scenario in which the -s option is used and yes, I understand why you relate it to the -s option on fsck as the source says both fsck and umount should be used with the -s option. But exactly how -s accomplishes something related to "better performance" is a mystery to me but I TOTALLY understand why the no sync wild guess... :)

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Eric SAUBIGNAC
Honored Contributor

Re: umount and option -s

Well, with no certainty, I will assume that the deal is "perfomance vs reliabilty". As usually.

So I will not use the umount "-s" option.

Thanks every one.

Eric