[LBo] Permanent /home partition
Stefan Waidele jun.
Stefan at Waidele.info
Tue Jun 6 19:17:05 CEST 2006
Jisao wrote:
> [...]
> At the risk of asking the obvious, does it mean that I can mount a partition
> in a subdirectory, like /home/mushu or instead of /mushu?
I am glad you took that risk.
The short answes is: Yes, you can.
The long answer:
You can pick any directory you like as the mount point.
/mushu, /home/mushu, /home/jisao/mushu,
/germany/will/win/the/soccer/worldcup, /w/h/a/t/e/v/e/r
Many distros do this for removable media, which they mount in
/media/usbstick, /media/cdrom, ...
Let's say you have /dev/hda5 mounted as / - root.
You could mount /dev/hda6 as /home
Let's assume that hda6 has a directory named 'mushu', then you could
mount /dev/hda7 as /home/mushu. This could go on until you run out of
partitions.
Note:
=====
The directories you use as mount-points need not be empty. Whatever is
stored in those directories will be "hidden" by the mounted filesystem
and "reappear" after unmounting.
I hope I did not confuse anybody too much.
Best you try it out with a couple of (non-system)-directories and the
"mount"-command. It's nice :)
Stefan
> (Mind you, /mushu is a great name, as no distribution/developer uses the
> word in their distribution. So I alway know exactly what it is).
MUSHU - Multi User System Home Use
or even recursive
MUSHU - Mushu Unstable Sanity Horribly Unavailable
or
does it have a "meaning" ?
:)
Stefan
--
http://LinuxBasics.org
http://Stefan.Waidele.info
http://Krone-Neuenburg.de
More information about the QnA
mailing list