Re: emulate an end-of-media
- From: "Martin Laabs" <martin.laabs@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Feb 2008 19:45:33 +0100
Hi,
On Tue, 26 Feb 2008 08:51:02 +0100, Peter Jeremy
<peterjeremy@xxxxxxxxxxxxxxxx> wrote:
[...] But it also has some gotchas. The
biggest one is that dump needs to be able to write past EOM (so it can
record an end-of-volume block).
Just even I tried the following:
-create a 50MB filesystem (with md)
-put 29MB data on it
-create 3 10MB md-devices
-dump the 50MB filesystem at the three 10MB devices
-restore the file into another, fresh 50MB filesystem
Restore reported no error, all files are there and the
number of used inodes is the same. Also the md5 checksum
above all files does not differ.
Since I'm almost sure that the md-devices does not allow
to write behind the EOM signal this test would be an
equvilalent to the SIGPIPE to SIGEOM thing. (Regardless
how I implement this at the end.)
So it doesn't seem that dump can handle such an abrupt EOM.
This evening I'll try to change dump to interprete SIGPIPE
like SIGEOM.
Best regards,
Martin L.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Re: emulate an end-of-media
- From: Martin Laabs
- Re: emulate an end-of-media
- From: Mike Meyer
- Re: emulate an end-of-media
- From: Peter Jeremy
- Re: emulate an end-of-media
- Prev by Date: Re: emulate an end-of-media
- Next by Date: Re: Security Flaw in Popular Disk Encryption Technologies
- Previous by thread: Re: emulate an end-of-media
- Next by thread: Re: sbc: isa plug-n-play
- Index(es):
Relevant Pages
|
|