Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-04-2005, 03:55 PM   #1
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
less -f /dev/sda Just out of interest

I was just interested if anybody could tell me if you can 'read' this information, if you can tell me something about it ...

This is text copied from a console when I typed less "-f /dev/sda". You can see that I installed lilo, but is there anything else you can tell about this info, or how should you read this?

<FA><EB> ^A<B5>^ALILO^V^E<E5><86>HB^@^@^@^@<E5><86>HB<FA><A8><F3>@^A<80>`^E^X<A9>^@<B8><C0>^G<8E><D0><BC>^<FB >

These characters are after the boot sector.

Old 04-04-2005, 07:33 PM   #2
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
No, you can't really make use of less in this case - less is for text files and not for binary data. That is why you see weird characters - because the bytes don't correspond to printable ASCII characters.
What you are trying to do is reading the raw harddrive. The first thing on the harddrive is the MBR and the boot sector etc, so that's why you see LILO.
If you want to look at the data use a hex editor.

Also, this is hardly a hardware problem, you should post in another category next time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 07:41 AM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 10:23 PM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 05:00 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration