Yeah, that should work. Only, the image file wouldn't be an "iso"
because it's not an iso9660 filesystem. The keychain probably uses a
vfat fs. (Not that it really matters what you call the file anyway)



On Fri, 2003-05-30 at 10:55, Adam J. Melancon wrote:
> I recently purchaced a 256MB lexar jumpdrive pro, and I had a question about 
> imaging it.
> What I wanted to to is use dd to make an image file from the drive for 
> different situations.
> Like make an image of the drive with tons of network security and computer 
> troubleshooting tools, and another with games...etc....
> 
> I read that you can make an image of a cdrom using
> dd if=/dev/cdrom of=cd.iso
> so i'm guessing I can do the same for my usb keychain drive with
> dd if=/dev/sda1 of=usbdrive.iso
> 
> **here is the question**
> Now, to put the image back on the drive, is it just that easy to do as:
> dd if=usbdrive.iso of=/dev/sda1
> It's not like I can burn the .iso with a usb drive. ;)
> 
> Of course, when I get it just the way I want, I'll write a bash script that 
> will automate it.
> Something with a menu like
> ----------------------------------
> Welcome...
> 
> Backup the drive
>    1 Pick a new filename and Image the drive
>    2 Image the drive over an existing filename
> 
> List Images
>    3 List previous images
> 
> Push a stored image to the drive
>    4 Push an image to the drive
> ----------------------------------
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
> http://join.msn.com/?page=features/virus
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net


Reply via email to