System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

What are filesystems can be unmounted in single uesr mode in linux

 
SOLVED
Go to solution
Highlighted
Super Advisor

What are filesystems can be unmounted in single uesr mode in linux

Hi All,

Can I umount following filesystems in single user mode?

/var , /tmp , /appl, /opt, /usr
4 REPLIES 4
Highlighted
Exalted Contributor
Solution

Re: What are filesystems can be unmounted in single uesr mode in linux

Shalom,

In single user mode no file systems are mounted. This may vary from distribution to distribution.

You can do a mount -a to mount all file systems. This will not mount NFS file systems.

Single user mode does not have networking enabled, but unlike HP-UX you can start networking as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Honored Contributor

Re: What are filesystems can be unmounted in single uesr mode in linux

> In single user mode no file systems are
> mounted. [...]

"/"?

You can "umount" any file system which is not
being used. The details may depend on how
you get to single-user mode. If you boot
into single-user mode, then few, if any,
non-"/" file systems should be mounted. If
you drop down into single-user mode from some
higher run level, then there may be some
processes running which use files on other
file systems.

> [...]in linux

Not a very detailed description of the OS
involved.
Highlighted
Respected Contributor

Re: What are filesystems can be unmounted in single uesr mode in linux

ans to your question is yes AFAIK in linux and hpunix.

but note that in linux when you directly boot to single user mode the filesystems are mounted as readonly.
Highlighted
Honored Contributor

Re: What are filesystems can be unmounted in single uesr mode in linux

Hi Senthil,

In Linux any file system which is not
being used can be "umount" in single user mode. It depend on how you get to single-user mode.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!