The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

fstab mount point entries

Discussion in 'General Discussion' started by BizzHost, Apr 26, 2012.

  1. BizzHost

    BizzHost Member

    Joined:
    Jun 20, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Hi
    I just got a new dedicated server from my provider.
    When I went to edit the fstab file to add 'noexec,nosuid', I found that the it has mount point entries as

    UUID=afdc7615-de79-47a6-ab6b-441c650a8580 / ext4 defaults,usrquota 1 1
    UUID=b1b423ed-957e-4910-bf7d-fa6ecf8d5b52 /boot ext4 defaults 1 2
    UUID=3032fa43-67ab-4d93-8b49-a37c0afe700f /home ext4 defaults,usrquota 1 2
    UUID=1b3b54a6-2c16-48bd-b241-58ba3ffb6f3b /tmp ext4 defaults 1 2
    UUID=5467e8a9-d9a8-4d56-8608-93e8af241234 /usr ext4 defaults,usrquota 1 2
    UUID=922ed1ef-66ff-4a93-85b5-76e6437cb5d0 /var ext4 defaults,usrquota 1 2
    UUID=f901ac71-26e5-4fbe-bf23-e67b05188b6b swap swap defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0

    on my previous servers I had them as

    /dev/sda2 / ext3 defaults,usrquota 1 1
    /dev/sda1 /boot ext3 defaults 1 2
    /dev/sda8 /home ext3 defaults,usrquota 1 2
    /dev/sda7 /tmp ext3 defaults,noexec,nosuid 1 2
    /dev/sda6 /usr ext3 defaults,usrquota 1 2
    /dev/sda5 /var ext3 defaults,usrquota 1 2
    /dev/sda3 swap swap defaults 0 0

    Is it correct to have them as UID rather than DEV ?

    Thanks
     
Loading...

Share This Page