Re: Cannot display /etc/fstab

From: Greg M Lee (greg_at_ncs.co.nz)
Date: 06/24/05

  • Next message: No Names Please: "pptpclient problems in fedora 3"
    Date: Fri, 24 Jun 2005 12:59:10 +1200
    
    

    cody wrote:
    >>>The funny thing is that I now opened the file from texteditor by starting
    >>>the texteditor and chose "file open" and it worked. Then I found a label
    >>>name in fstab which contained lots of special chars which couldn't
    >>>properly
    >>
    >>>displayed. Then I removed those special chars and replaced it with a valid
    >>>identifier. After I saved the file it had a normal icon like most other
    >>>files in /etc and I now could open it with the texteditor without
    >>>problems.
    >>>
    >>>That means that a file which contains special chars/binary content is
    >>>treatet differenct by the GUI. But how does that work? Does the GUI scan
    >>
    >>the
    >>
    >>>contents *all* files in a folder to determine which icon it shall display
    >>>for each one?
    >>
    >>Something that took me a while to get is that RH does not depend on the
    >>file
    >>extension to tell it what sort of a file it is. I found this out with jpg
    >>files ... RH had no problem working out what they were ... but when I
    >>transferred them to a windows box, it spat the dummy :)
    >>
    >>.. so I think the answer to your question is probably ... yes, that's
    >>exactly what it does :)
    >
    >
    > And I always though only Windows would do such funny things.
    > I will try and add a link to /mnt/floppy/somefile in a folder and see
    > wheather the OS always tries to access the floppy when I open the folder..
    > What if I have a 10GB file in a folder? Does the OS scan the whole file to
    > determine wheather is is ascii or binary??
    > Oh dear..

    As far as know it doesn't
    See: man file

    -Greg


  • Next message: No Names Please: "pptpclient problems in fedora 3"

    Relevant Pages

    • Missing column
      ... Windows Explorer under XP. ... sort by extension as well as Name, ... When I open a folder than contains the same general sort of file I ...
      (uk.rec.sheds)
    • Re: Missing column
      ... Skipweasel wrote: ... sort by extension as well as Name, ... When I open a folder than contains the same general sort of file I ...
      (uk.rec.sheds)
    • Re: How do I search for files with no extensions?
      ... Bill Braun wrote: ... Search for *.* and then sort the result by Type. ... I created three file in a folder, new_doc.txt, new_doc1, and new_doc2 ... both files without an extension were clustered together. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: openssl extension not loading (need to open https stream)
      ... you configured PHP?" ... I have also enabled the openssl extension and made sure it is ... in the extension folder. ... the apache module ...
      (comp.lang.php)
    • Re: slideshow
      ... whatever order they are displayed in the folder. ... Click the Sort button; ... Slideshow shows the slides in the order shown on the screen - I have ... Then the files will display 1,2,3,4,5. ...
      (microsoft.public.windowsxp.help_and_support)