Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount - ist das normal?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Dec 30, 2003 12:22 pm    Post subject: mount - ist das normal? Reply with quote

Ich habe ausversehen zwei Partitionen den gleichen Mountpoint verpaßt, bzw. vergessen, die andere vorher aus dem Verzeichnisbaum zu entfernen.
Quote:
/dev/hda7 10490084 7941472 2548612 76% /mnt/test
/dev/hda9 10490084 7941472 2548612 76% /mnt/test

Ist es normal, daß mount da keine Warnung ausgibt?


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Tue Dec 30, 2003 12:32 pm    Post subject: Re: mount - ist das normal? Reply with quote

Carlo wrote:
Ist es normal, daß mount da keine Warnung ausgibt?

Bei mir warnt er:
Code:
root@ginny (~)# mount
[...]
/dev/ram0 on /tmp type ext2 (rw,noexec,nosuid,nodev,noatime)
root@ginny (~)# mount /dev/ram0 /tmp/
mount: /dev/ram0 already mounted or /tmp/ busy
mount: according to mtab, /dev/ram0 is mounted on /tmp
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Dec 30, 2003 1:33 pm    Post subject: Reply with quote

Hm, bei mir nicht. Die Partitionen werden in /etc/mtab aufgeführt. Es handelt sich hierbei um ReiserFS-Partitionen identischer Größe. Interessant ist auch, daß df für beide Partitionen die Daten der zuletzt gemounteten anzeigt und ich sie auch wieder nacheinander umount'en kann - reproduzierbar. Verwendung findet sys-apps/util-linux-2.11z-r8.


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.


Last edited by Carlo on Tue Dec 30, 2003 1:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Tue Dec 30, 2003 1:36 pm    Post subject: Reply with quote

Carlo wrote:
Verwendung findet sys-apps/util-linux-2.11z-r8.

Also ich hab ebenfalls sys-apps/util-linux-2.11z-r8
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Tue Dec 30, 2003 2:52 pm    Post subject: Reply with quote

Es ist normal das Du ein gemountetes Verzeichnis sozusagen "übermounten" kannst.
Sprich für /home /dev/hda6 und dann irgendwann mal nfs://server/home ist kein Problem.
Genauso wie das reihenweise unmounten.

Was nicht geht ist, das Du ein Gerät mehrere Male mountest, sprich /dev/hda1 auf /home UND /usr/local besipielsweise. Das geht net ..
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Dec 30, 2003 3:24 pm    Post subject: Reply with quote

Beforegod wrote:
Es ist normal das Du ein gemountetes Verzeichnis sozusagen "übermounten" kannst.

O.k., danke - und welchen Sinn macht das? Besonders die Ausgabe von df finde ich irritierend.


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Tue Dec 30, 2003 4:00 pm    Post subject: Reply with quote

Es ist z.B. Nützlich in Netzwerkumgebungen wenn man sein Home Verzeichnis zweimal mountet. Beispielsweise habe ich hier in meiner Firma mein home Verzeichnis einmal lokal und einmal eben über nfs gemountet. Das Lokale gelingt immer, aber falls mal ein Netzwerkproblem sein sollte, kann ich trotzdem auf mein Notprofil zugreifen.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Dec 30, 2003 5:14 pm    Post subject: Reply with quote

Das macht Sinn. Danke für die Aufklärung. :) In der man-page zu mount steht dazu nichts.


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum