Hirdetés

Aktív témák

  • veze

    őstag

    válasz Kendek #37454 üzenetére

    igy néz ki most az fstab

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda6 during installation
    UUID=a24b10d6-5691-4c91-a57a-e047463bc42d / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=e3895dc5-01f7-4758-9bd2-9e7ab9bc7829 none swap sw 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    /dev/sdb2 /mnt/xfs/ xfs defaults 0 0

    és igy az rc.local:

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.

    exit 0

    akkor az utolsó sort ( /dev/sdb2 /mnt/xfs/ xfs defaults 0 0 ) tegyem át rc.local-ba? az exit elé? és ne legyen elötte #..?

Aktív témák