still having problem...

John Summerfied debian at herakles.homelinux.org
Fri Nov 25 22:22:03 UTC 2005


Gene Heskett wrote:
> On Friday 25 November 2005 16:27, Mattia Forza wrote:
> 
>>i have the number of blocks...but when i run the shell u told me...it
>>says:
>>
>>"dd: /dev/cdrom: No such file or directory
>> sha1sum: No such file or directory"
>>
>>what does it means?
> 
> 
> Use whatever device is the dvdwriter, /dev/cdrom is a link here to
> /dev/hdc.  It could be real or a link on your system.  If there is a
> file in /var/log, called dmesg, browse it to see what the writer was
> called at boot time discovery and use that.

it's not that simple:-(

OSX has character and block devices for the same disk, for different 
purposes.

And the name used can change from one time to another:

eagle:~ summer$ mount
/dev/disk0s10 on / (asynchronous, local)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol
automount -nsl [234] on /Network (automounted)
automount -fstab [239] on /automount/Servers (automounted)
automount -static [239] on /automount/static (automounted)
/dev/disk1s2 on /Volumes/Bonjour Browser (local, nodev, nosuid, 
read-only, mounted by summer)
/dev/disk2s0 on /Volumes/M521 (local, nodev, nosuid, read-only)
eagle:~ summer$


I just popped a CD in and that got mounted at /Volumes/M521

I can't figure how to ject it with huditul, but I can read it:
eagle:~ summer$ dd if=/dev/disk2s0 count=1 | xxd | head
1+0 records in
1+0 records out
512 bytes transferred in 0.006801 secs (75284 bytes/sec)
0000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................

> 


> As to the second error, do you not have the utility sha1sum on that
> machine?  If missing, that seems to be a potentially serious security
> shortcoming.
> 
> If you have md5sum, it can be substituted, but will give different
> answers when compared to sha1sum.  Whatever you use, the .iso file, and
> the readback from the device should be identical.

it's called md5, its report format is different, but thankfully the 
result's the same.

> 
> Also, make sure the pipe symbol used by the mac is the same as used in
> the rest of the *nix world, a vertical bar found by shifting the
> backslash key on common keyboards.  Some systems have been known to use
> the exclamation point as a substitute but that was microwares os9, on a
> TRS-80 Color Computer from 2 decades back.  I still have one, running
> at times. :)

OS X is more Unix than Linux is:-)



-- 

Cheers
John

-- spambait
1aaaaaaa at computerdatasafe.com.au  Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list




More information about the fedora-list mailing list