Re: linuxda partition kullanma yada kullanmama...
Cts 11 Kas 2006 19:51 sularında, Murat Barış ÜNAL şunları yazmıştı:
> yerine ln -s yazdımoldu şuan bir sorun yok. sadece mount --bind hakkında
> bilgi almak amaçlı yazdımlisteye. internette pek bir şey bulamadım mount
> --bind kullanımı hakkında. man sayfasındaki tek cümlelik açıklamada bana
> yetmedi.
En yeni mount man sayfasında biraz fazlası var:
Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere
else. The call is
mount --bind olddir newdir
After this call the same contents is accessible in two places. One can also
remount a single file (on a single file).
This call attaches only (part of) a single filesystem, not possible submounts.
The entire file hierarchy including submounts is attached a second place using
mount --rbind olddir newdir
Note that the filesystem mount options will remain the same as those on the
original mount point, and cannot be changed by passing the -o option along with
--bind/--rbind.
Since Linux 2.5.1 it is possible to atomically move a mounted tree to another
place. The call is
mount --move olddir newdir
Bu sonuncusu sizin işinizi daha iyi görecek gibi. Yeni bölümü /hdb dizinine
bağladınız farzedelim,
mount --move /hdb /
diye bir komutun dertlerinizi bitirmesi lazım, yazılanı yanlış anlamadıysam.
Tabii 2.6 çekirdeklerden birini kullanıyorsanız bu geçerli.
Esen kalın,
Nilgün
Reply to: