[Sunhelp] Automounting

James Lockwood james at foonly.com
Thu May 4 14:08:56 CDT 2000


On Thu, 4 May 2000, Will Lowe wrote:

> The only reliable solution I've found is to reboot the client.  There
> really ought to be some better way, but even if you kill the automount
> daemon and try to unmount by hand, the system generally refuses to allow
> you to do that, complaining that the filesystem is in use.

You'll appreciate this then:

Maintenance Commands                                    mount(1M)

NAME
     mount, umount - mount or unmount  file  systems  and  remote
     resources

...

     -f    Forcibly unmount a file system.

           Without this option, umount does not allow a file sys-
           tem  to  be  unmounted if a file on the file system is
           busy. Using this option can cause data loss  for  open
           files; programs which access files after the file sys-
           tem has been unmounted will get an error (EIO).

Unfortunately you have to go to Solaris 8 to get this, many other Unices
have had a similar feature for some time (AIX comes to mind).  I'm glad
Sun finally put it in, though.

-James






More information about the SunHELP mailing list