Operating System - Linux
1752808 Members
7000 Online
108789 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
senthil_kumar_1
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
Steven E. Protter
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
Steven Schweda
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.
AnthonySN
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.
Kranti Mahmud
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!