[freebsd-questions] Re: Right way to mount/edit dd of a disk?

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Mon Oct 20 16:45:49 PDT 2008


> 
> > mount -t msdos /dev/md0s5 /mnt
> >
> > 	to be able to get the dd5 on /mnt. I then edited the files I wanted,
> > replaced them, and copied back to /mnt. I did "umount /mnt" and copied the dd
> > file back to where it needed to be.
> 
> did you mdconfig -d before copying image?
>
	Well, turns out the problem I had was elsewhere with something else, 
but I was slowly coming back around to having to deal with this again.
(Apparently FreeBSD's tar can actually create a tar that a Linux system
doesn't like...)

	No, I didn't. That would probably have been a good idea no matter what.
Will do so in the future. But otherwise my procedure seemed sane? 

		Thanks!
		Tuc


More information about the freebsd-questions mailing list