Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frage zu der /etc/fstab Datei
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
SarahS93
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2013
Posts: 105

PostPosted: Sun Jan 05, 2014 11:31 am    Post subject: Frage zu der /etc/fstab Datei Reply with quote

Der Befehl mount zeigt bei mir das an:
Code:
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=2051399,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/mapper/vg01-root on / type ext4 (rw,noatime,discard,commit=0)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
/dev/sda1 on /boot type ext2 (rw,noatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)


Meine /etc/fstab Datei sieht so aus:
Code:
# <fs>                    <mountpoint>    <type>          <opts>          <dump/pass>
  /dev/sda1               /boot           ext2            noatime             1 2
  /dev/mapper/vg01-root   /               ext4            noatime,discard     0 1
  /dev/mapper/vg01-swap   none            swap            sw                  0 0
# /dev/cdrom              /mnt/cdrom      auto            noauto,ro           0 0


Nun frage ich mich woher die ganzen Einträge bei "mount" kommen?
Back to top
View user's profile Send private message
rogge
n00b
n00b


Joined: 13 Oct 2006
Posts: 74
Location: Erfurt

PostPosted: Sun Jan 05, 2014 9:58 pm    Post subject: Reply with quote

Der Großteil wird automatisch erstellt, dafür braucht es keinen Eintrag in der fstab.
Wenn du z.B. tmpfs im Kernel aktivierst oder udev nutzt (was du offensichtlich machst),
dann werden auch darüber Mount-points generiert.

Ist nicht schlimm ;)
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