Re: Cannot display /etc/fstab
From: Bruce Sinclair (bruce.sinclair_at_NOSPAMORELSEagresearch.NOTco.NOTnz)
Date: 06/23/05
- Previous message: larsk: "nis"
- In reply to: cody: "Re: Cannot display /etc/fstab"
- Next in thread: Herbert Pophal: "Re: Cannot display /etc/fstab"
- Reply: Herbert Pophal: "Re: Cannot display /etc/fstab"
- Reply: cody: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Jun 2005 00:20:52 GMT
In article <d9crlu$jlj$04$1@news.t-online.com>, "cody" <deutronium@gmx.de> wrote:
<tpf>
>"Ivan Marsh" <annoyed@you.now> schrieb im Newsbeitrag
>news:pan.2005.06.22.18.22.09.629349@you.now...
>>> "Ivan Marsh" <annoyed@you.now> schrieb im Newsbeitrag
>>> news:pan.2005.06.22.17.35.58.975100@you.now...
>>>> On Wed, 22 Jun 2005 02:13:10 +0200, cody wrote:
>>>>
>>>>> I got the message when attempting to open this file from the GUI
>>>>> (gnome).
>>>>
>>>> Shall we try and guess which application you were attempting to view
>>>> the file with?
>>>>
>> On Wed, 22 Jun 2005 19:45:19 +0200, cody wrote:
>>
>>> Thanks for answering me.
>>>
>>> By default is is opened with the TextEditor. I tried other programs, the
>>> same message, so I guess the message came from the OS, not from the
>>> specific application. I have no clue what the cause of the problem could
>>> be.
>>
>> Well, if you have rights to the file, which root should, and you still
>> can't open it that's a bit of a head scratcher.
>>
>> This may be an issue with being logged into the GUI as root. Some say you
>> should never do that... I'm not sure why. I don't log in as root as a rule
>> in general, so maybe someone else has some insight into that.
>I also noticed that /etc/fstab had like some other files in this directory
>another icon although I couldn't find any properties of the file which
would
>explain this.
>
>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 :)
Bruce
-------------------------------------
The power of accurate observation is commonly called cynicism by those who have not got it.
- George Bernard Shaw
Cynic, n: a blackguard whose faulty vision sees things as they are, not as they ought to be.
- Ambrose Bierce
Caution ===== followups may have been changed to relevant groups
(if there were any)
- Previous message: larsk: "nis"
- In reply to: cody: "Re: Cannot display /etc/fstab"
- Next in thread: Herbert Pophal: "Re: Cannot display /etc/fstab"
- Reply: Herbert Pophal: "Re: Cannot display /etc/fstab"
- Reply: cody: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|