Announcement

Collapse
No announcement yet.

Different colors in FSTAB, any particular meaning to them?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Different colors in FSTAB, any particular meaning to them?

    I am trying to add this line on the bottom of my primary OS drive to help reduce some of the writes to the SSD.
    Code:
    /tmp tmpfs defaults,noatime,mode=1777  0  0
    Strangly the first zero is black and the second the normal brown color, like all the rest of the numbers for <dump> and pass <pass> , this black zero corresponds to the <dump> part. If I add a third zero, it becomes brown, and I am left with one black, and 2 browns, here is a picture to show you guys what I mean.
    Click image for larger version

Name:	snapshot22.jpg
Views:	1
Size:	55.4 KB
ID:	648811

    In the picture I added a third zero to show what I mean by the color change.

    #2
    That does not really help me in anyway but thank you for the answer. What does the black color mean as opposed to blue in my fstab?

    Comment


      #3
      Also, your entry is incorrect. It should be:
      Code:
      tmpfs  /tmp  tmpfs  noatime,mode=1777  0  0
      The commened line with the items in angle brackets <> describes what goes in each column. Your entry is missing the first item, the file system name. And it has an extra 0 at the end. There are only two flags, not three.

      Kate's coloring should have clued into this. If you take a look at the other lines, you'll see:
      • black: filesystem name
      • blue: mount point
      • purple: filesystem type
      • black bold: mount options
      • brown: backup (dump) and filesystem check (pass) flags

      Notice that in the line you entered, the colors don't line up right?
      Last edited by SteveRiley; Nov 26, 2014, 10:56 PM.

      Comment

      Working...
      X