Operating System - HP-UX
1833700 Members
3876 Online
110062 Solutions
New Discussion

Re: directories mounted on root file system

 
SOLVED
Go to solution
Shivkumar
Super Advisor

directories mounted on root file system

what are the names of the directories usually mounted on / file system ?
9 REPLIES 9
Joseph Loo
Honored Contributor
Solution

Re: directories mounted on root file system

hi,

do u mean directories from the mounted / (root) file system?

if so, /etc, /dev, /bin (softlink), /sbin, /lib (softlink), etc are some of the common directories in the mounted / file system.


regards.
what you do not see does not mean you should not believe
Adisuria Wangsadinata_1
Honored Contributor

Re: directories mounted on root file system

Hi Shiv,

The directories not as the mount directory on bdf, AND below :

/bin
/sbin
/etc
/dev
/dt
/lib
/.sw
/.dt
/.ssh

Hope this information can help you.

Cheers,
AW

/lost+found
now working, next not working ... that's unix
Devender Khatana
Honored Contributor

Re: directories mounted on root file system

Hi Shiv,

Your question is not quite clear. If you want to know the directories that should be mounted under / then there is no such boundation of following the name except for OS file systems.

You can have /shiv and /devender mounted as well if required. The OS directories may or may not be seperate file systems and you can have one big root having all these directories within that but it is not recomended.

HTH,
Devender
Impossible itself mentions "I m possible"
Indira Aramandla
Honored Contributor

Re: directories mounted on root file system

Hi Shivkumar,

the names of the directories usisally mounted in the root volume group

are /stand, /var, /usr, /opt, /tmp, /home.


IA
Never give up, Keep Trying
Yogeeraj_1
Honored Contributor

Re: directories mounted on root file system

hi shiv,

/ is already mounted filesystem

e.g.
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 67416 136336 33% /
/dev/vg00/lvol1 295024 35648 229872 13% /stand
/dev/vg00/lvol8 4706304 2842408 1855040 61% /var
/dev/vg00/lvol7 2609152 2309416 297432 89% /usr
/dev/vg01/lv_u01 35553280 31216888 4317560 88% /u01
/dev/vg00/lvol6 946176 811704 133624 86% /tmp
/dev/vg00/lvol5 3145728 2858720 287008 91% /opt
/dev/vg00/lvol4 614400 422384 190560 69% /home


shows that /dev/vg00/lvol3 has been mounted as /

to list the directories found on / you can try to run the following command:
find / -type d -xdev |more


please clarify what you want to know

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Shameer.V.A
Respected Contributor

Re: directories mounted on root file system

Hi Shiv,

Default directories mounted are as follows..

eg:.
/dev/vg00/lvol3 1048576 707861 319517 69% /
/dev/vg00/lvol1 303125 56535 216277 21% /stand
/dev/vg00/lvol8 4710400 4399171 292023 94% /var
/dev/vg00/lvol7 2097152 1300532 746853 64% /usr
/dev/vg00/lvol4 770048 523795 231723 69% /tmp
/dev/vg00/lvol6 2097152 1894773 189793 91% /opt
/dev/vg00/lvol5 516096 353909 152080 70% /home

You can mount any lvols to / by creating & mounting the lvols to the directory.

shameer
.... See invisible, feel intangible and achieve impossible as everything is possible ....
Cem Tugrul
Esteemed Contributor

Re: directories mounted on root file system

Hi ,

i think Shiv wants to try to find out directories "created" under / so;

#ls -lrt|grep "^d"
shows all dirs created in /

#bdf
shows FS size&mount points mounted on your system

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Arunvijai_4
Honored Contributor

Re: directories mounted on root file system

Hi Shiv,

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 170616 33968 83% /
/dev/vg00/lvol1 298928 90496 178536 34% /stand
/dev/vg00/lvol8 4710400 885336 3795384 19% /var
/dev/vg00/lvol7 20480000 1942136 18394344 10% /usr
/dev/vg00/lvol4 358400 17552 338240 5% /tmp
/dev/vg00/lvol6 2555904 1841128 709200 72% /opt
/dev/vg00/lvol5 30720 2280 28232 7% /home

This is a general layout. Usually, it depends on your configuration.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Univer_1
Valued Contributor

Re: directories mounted on root file system

hi
eg.
/stand on /dev/vg00/lvol1
/var on /dev/vg00/lvol8
/usr on /dev/vg00/lvol7
/tmp on /dev/vg00/lvol5
/opt on /dev/vg00/lvol4
/home on /dev/vg00/lvol6

Regards

Univer