mounting from stdin
i have this small, tar.gz'ed hard drive image and i want to mount it without unpacking the image file to my disk drive. i was thinking i could redirect the output of tar to standard output and then just pipe it to mount like this: "tar -xvzOf test.img.tar.gz|mount /mnt/hd" but it isn't working. i thought most linux programs, like mount or dd, looked to stdin if no input was specified. is there any way to make mount mount an image from stdin?
|