Re: Cannot display /etc/fstab
From: cody (deutronium_at_gmx.de)
Date: 06/23/05
- Next message: larsk: "nis"
- Previous message: mitch: "Raid system hanging"
- In reply to: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Next in thread: Bruce Sinclair: "Re: Cannot display /etc/fstab"
- Reply: Bruce Sinclair: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Jun 2005 01:21:55 +0200
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?
"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.
>
> --
> "Blessed is he who expects nothing, for he shall never be disappointed."
> Benjamin Franklin (I didn't know he was a Buddhist)
>
- Next message: larsk: "nis"
- Previous message: mitch: "Raid system hanging"
- In reply to: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Next in thread: Bruce Sinclair: "Re: Cannot display /etc/fstab"
- Reply: Bruce Sinclair: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|