/[baselayout]/trunk/share.Linux/fstab
Gentoo

Contents of /trunk/share.Linux/fstab

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2547 - (show annotations) (download)
Thu Apr 5 11:18:42 2007 UTC (7 years, 8 months ago) by uberlord
File size: 1110 byte(s)
    Rewrite the core parts in C. We now provide librc so other programs can
    query runlevels, services and state without using bash. We also provide
    libeinfo so other programs can easily use our informational functions.

    As such, we have dropped the requirement of using bash as the init script
    shell. We now use /bin/sh and have strived to make the scripts as portable
    as possible. Shells that work are bash and dash. busybox works provided
    you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
    should disable find too.
    zsh and ksh do not work at this time.

    Networking support is currently being re-vamped also as it was heavily bash
    array based. As such, a new config format is available like so
    config_eth0="1.2.3.4/24 5.6.7.8/16"
    or like so
    config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

    We will still support the old bash array format provided that /bin/sh IS
    a link it bash.

    ChangeLog for baselayout-1 can be found in our SVN repo.
1 # /etc/fstab: static file system information.
2 #
3 # noatime turns off atimes for increased performance (atimes normally aren't
4 # needed; notail increases performance of ReiserFS (at the expense of storage
5 # efficiency). It's safe to drop the noatime options if you want and to
6 # switch between notail / tail freely.
7 #
8 # The root filesystem should have a pass number of either 0 or 1.
9 # All other filesystems should have a pass number of 0 or greater than 1.
10 #
11 # See the manpage fstab(5) for more information.
12 #
13
14 # <fs> <mountpoint> <type> <opts> <dump/pass>
15
16 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
17 /dev/BOOT /boot ext2 noauto,noatime 1 2
18 /dev/ROOT / ext3 noatime 0 1
19 /dev/SWAP none swap sw 0 0
20 /dev/cdrom /mnt/cdrom audo noauto,ro 0 0
21 #/dev/fd0 /mnt/floppy auto noauto 0 0
22
23 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
24 # POSIX shared memory (shm_open, shm_unlink).
25 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
26 # use almost no memory if not populated with files)
27 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0

  ViewVC Help
Powered by ViewVC 1.1.20