Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ich bin zu dumm zum mounten von fat32
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
lutzlustig
Apprentice
Apprentice


Joined: 19 Jul 2002
Posts: 220

PostPosted: Wed Sep 18, 2002 9:22 am    Post subject: ich bin zu dumm zum mounten von fat32 Reply with quote

Hi!

Folgendes Problem ich will auf einer FAT32-Partiton die virtellen Laufwerke von VMware laufen lassen (weil ich dann von Windows und Linux aus rankomme, üer netz geht zwar auch, ist aber langsamer).

folgendes steht momentan in der fstab:
/dev/sdb6 /mnt/vmware vfat user,noauto,noexec

Ich bekomme aber nur als root schreibzugriff. liegt das daran, das ich die Partition auch als root gemounted habe? Warum wird das nicht beim Start von Gentoo automatisch gemacht?

Ciao
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Wed Sep 18, 2002 10:36 am    Post subject: Reply with quote

Hi!
Quote:
Warum wird das nicht beim Start von Gentoo automatisch gemacht?

Quote:
/dev/sdb6 /mnt/vmware vfat user,noauto,noexec

...

dev
Back to top
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Wed Sep 18, 2002 12:08 pm    Post subject: Reply with quote

bin nich ganz sicher
aber enweder du kannst grundsaetzlich nur als root auf vfat schreiben oder das haengt (vielleicht nur) von den flags des mountpoints ab.
hat aber bestimmt nix damit zu tun, ob das automatisch gemacht wird oder nich.
_________________
void main(){fork();main();}
Back to top
View user's profile Send private message
Sandro
n00b
n00b


Joined: 08 Aug 2002
Posts: 55

PostPosted: Wed Sep 18, 2002 12:19 pm    Post subject: Automatisches mounten Reply with quote

Quote:
/dev/sdb6 /mnt/vmware vfat user,noauto,noexec

Du hast die Option "noauto" aktiviert, was dazu veranlasst dass der Eintrag nicht automatisch gemountet wird... Wenn die Option "noexec" (von der ich ehrlich gesagt auf die Schnelle keine ahung habe) nicht weiter dazwischenfunken sollte, wird die Partition vermutlich beim nächsten Start gemountet.

Gruß,
Sandro
Back to top
View user's profile Send private message
lutzlustig
Apprentice
Apprentice


Joined: 19 Jul 2002
Posts: 220

PostPosted: Wed Sep 18, 2002 12:26 pm    Post subject: Reply with quote

hi!

ich habs gefunden, ein "umask=000" erlaubt es root, auch anderen Usern schreibzugriffe einzuräumen.

werd ich nachher gleich mal testen. Funktioniert!

ciao
Back to top
View user's profile Send private message
Tharkun
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 106

PostPosted: Wed Sep 18, 2002 4:21 pm    Post subject: Reply with quote

noexec -> man mount genau wie zu dem eigentlichen problem ebenfalls. Wobei umask 000 nicht so gut ist, schau lieber mal nach uid und gid ...
Back to top
View user's profile Send private message
bernd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2002
Posts: 126
Location: Wilhelmshaven/Germany

PostPosted: Wed Sep 18, 2002 6:01 pm    Post subject: Re: ich bin zu dumm zum mounten von fat32 Reply with quote

lutzlustig wrote:
Hi!

Folgendes Problem ich will auf einer FAT32-Partiton die virtellen Laufwerke von VMware laufen lassen (weil ich dann von Windows und Linux aus rankomme, üer netz geht zwar auch, ist aber langsamer).

folgendes steht momentan in der fstab:
/dev/sdb6 /mnt/vmware vfat user,noauto,noexec

Ich bekomme aber nur als root schreibzugriff. liegt das daran, das ich die Partition auch als root gemounted habe? Warum wird das nicht beim Start von Gentoo automatisch gemacht?

Ciao

Versuch es mal so:
/dev/sdb6 /mnt/vmware vfat defaults,noexec,umask=027,gid=100,uid=1000,users 0 0

gid ist deine group-id z.B. 100 ist bei mir die Gruppe users

uid ist deine user-id bei mir halt 1000

und users bedeutet das jeder in der Gruppe users diese Partition mounten darf.

Dieser Befehl bewirkt das die vfat-partition beim booten gemountet wird. Desweitern wird sie nicht als root sondern mit deinen Rechten gemountet.

Gruss
Bernd


Last edited by bernd on Thu Sep 19, 2002 8:45 am; edited 1 time in total
Back to top
View user's profile Send private message
giant
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2002
Posts: 107

PostPosted: Thu Sep 19, 2002 7:05 am    Post subject: Reply with quote

noauto bewirkt, daß die partition nicht automatisch gemounted wird.

noexec, dasss von der Partition keine Programme ausgeführt werden können. Also Programme die sich auf der Partition befinden.

Wobei ein google auf fstab oder mount da wahrscheinlich noch wesentlich mehr ausspucken wird ;)
Back to top
View user's profile Send private message
bernd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2002
Posts: 126
Location: Wilhelmshaven/Germany

PostPosted: Thu Sep 19, 2002 8:52 am    Post subject: Reply with quote

giant wrote:
noauto bewirkt, daß die partition nicht automatisch gemounted wird.

noexec, dasss von der Partition keine Programme ausgeführt werden können. Also Programme die sich auf der Partition befinden.

Wobei ein google auf fstab oder mount da wahrscheinlich noch wesentlich mehr ausspucken wird ;)


und es ich auch ein guter Weg um die Meldungen zu unterdrücken die ausgeworfen werden wenn versucht wird auf eine vfat-Partition zu schreiben. Mit Meldungen meine ich den Hinweis "kann rechte nicht ändern" (oder so ähnlich), da es bei vfat keine Rechtesystem gibt.

Gruss
Bernd
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