dwild+plug on Thu, 11 Jul 2002 08:10:02 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] dd and mount help


On Wed, 10 Jul 2002, gabriel rosenkoetter wrote:

> > > use /dev/hdd instead of /dev/hdd1 to make sure you get the entire disk 
> > > (you will end up with an unmountable full-disk image once the 
> > unmountable?
> 
> I think the intended meaning was "unbootable", and that'd be true.
> (/dev/hdd1 will get you only partition 1, as opposed to all of the
> disk.)

I meant unmountable....if you dd a full disk with the partition table, 
loop will not mount it because it doesn't have a valid filesystem.  Trying 
to mount an image of /dev/hdd would be like trying to mount /dev/hdd 
itself. (Although you could get around this by specifying the proper 
"offset=" option for the loopback device.)  But it doesn't sound like we 
want to mount this image anyway.

> You probably really want to be dealing with a raw (character),
> rather than a block, device anyway. See raw(8).

BUGS
       The Linux dd (1) command does not currently align its buffers 
correctly, and so cannot be used on raw devices.

-dwild


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug