Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev in tmpfs legen, wie und warum (nicht)?
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
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Sun Dec 14, 2008 1:13 pm    Post subject: /dev in tmpfs legen, wie und warum (nicht)? Reply with quote

Hallo,

ich habe bisher folgende fstab:

Code:

/dev/hda1               /mnt/win        ntfs-3g         users,locale=de_DE.utf8                 0 0
/dev/hda2               /               ext3            noatime                                 1 1
/dev/hda3               /home           ext3            users,exec,suid,acl,noatime             1 2
/dev/hda4               none            swap            sw                                      0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro,user                          0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec                     0 0
tmpfs                   /tmp            tmpfs           size=600M, mode=1777                    0 0


Nun würde ich gerne die zyklischen Zugriffe auf meine HD unterbinden/einschränken. Ich habe gelesen, das wohl /dev sinnvollerweise dafür ins RAM gelegt werden sollte. Braucht das viel Speicher und ist das zuverlässig? Wenn die Vorteile überwiegen, dann sieht die Zeile in der fstab wie aus?
Achja, in meiner fstab die Zeile "shm" verstehe ich nicht, hab das mal irgendwo übernommen; was bewirkt das eigentlich?

Vielen Dank!
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Sun Dec 14, 2008 1:26 pm    Post subject: Reply with quote

also bei mir wird /dev als tmpfs gemounted (wenn udev verwendet wird)
Code:
-> mount | grep /dev\ 
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Sun Dec 14, 2008 2:22 pm    Post subject: Reply with quote

:oops: Stimmt, bei mir auch, ist wohl standard. Peinlich...
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Sun Dec 14, 2008 6:27 pm    Post subject: Reply with quote

Das macht der Kernel...
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: Sun Dec 14, 2008 7:31 pm    Post subject: Re: /dev in tmpfs legen, wie und warum (nicht)? Reply with quote

SvenFischer wrote:
Achja, in meiner fstab die Zeile "shm" verstehe ich nicht, hab das mal irgendwo übernommen; was bewirkt das eigentlich?

Ist eine Möglichkeit für Programme einen geteilten Speicher zu nutzen. Wird für POSIX shared memory benutzt (glibc >= 2.2)
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