On Mon, Aug 22, 2005 at 10:29:42PM +0300, Itay Duvdevani wrote: > When specifying an offset for the partition, can it be used safely > without specifying its limits (size)?
Interesting question. I believe so - at least for the file systems I've used this with, the file system always knows where its metadata and data blocks on the disk are. But if you had a corrupt file system, I guess it would be possible for it to write to a different partition's space in this case. > What I meant by /dev/loop0p1 (look at a file in fdisk), is whether > there's a way to access the partition directly, through the kernel > facilities, instead of figuring out the byte offset of the partition > manually. In other words, "mount the whole file as a disk rather than a partition". I'm not familiar with a comfortable way of doing it. What I usually do in such a case is use this file as a secondary disk with either bochs or qemu. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
