Results 1 to 10 of 13
I need help decoding a device file, /dev/sdc1. I have dumped (maybe?) the device file into a file with
Code:
cat /dev/sdc1 > file
The file is full of gibberish.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-01-2013 #1Just Joined!
- Join Date
- Jan 2013
- Posts
- 7
Decoding a device file.
I need help decoding a device file, /dev/sdc1. I have dumped (maybe?) the device file into a file with
The file is full of gibberish.Code:cat /dev/sdc1 > file
I triedandCode:strings file
but didn't get much from strings and absolutely nothing from hexdump.Code:hexdump file
I then looked around in /sys/block/sdc/device but didn't find much.
Is there any way to find the actual system files of the device using the device file or any other files or tools? I am very confused about this, as I usually only do programming.
By the way, I am running CentOS 6.3 64-bit.
- 01-01-2013 #2Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
mkdir /newmnt
mount -o loop file /newmnt
Now your file is mounted as a block device, and you can access the files contained therein.
- 01-01-2013 #3Just Joined!
- Join Date
- Jan 2013
- Posts
- 7
Thank you. I have been able to do that, but the device has files that are not accessible through that method. I guess it is somewhat like firmware.
- 01-01-2013 #4Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
If it's in the firmware, you'll have to figure out how to edit that firmware, if at all possible. Without knowing what the device is, I don't think you'll get much help here.
- 01-01-2013 #5Just Joined!
- Join Date
- Jan 2013
- Posts
- 7
The device is a sony walkman nwz e463. I am trying to edit the firmware but do not have access to it as of yet.
- 01-01-2013 #6Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Sony : NWZ-A726 updates | Download updates for NWZ-A726
Well, perhaps you can download the new firmware, edit, and install.
Unless you know what you're doing, you're probably going to brick you device.
- 01-01-2013 #7Just Joined!
- Join Date
- Jan 2013
- Posts
- 7
I've tried that but it is for a differnet series of walkman. Are you sure there is no way to extract the firmware?
- 01-01-2013 #8Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
I'm sure there's a way. Is there a ready-made linux program to do it? No.
- 01-01-2013 #9Just Joined!
- Join Date
- Jan 2013
- Posts
- 7
Do you think the firmware would be part of the device file?
- 01-01-2013 #10Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
No. That device file is a block device file, ie the storage that holds the mp3s, etc.


Reply With Quote
