mounting "partitions"

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Mar 1 00:47:43 PST 2005


On Tuesday, 1. March 2005 03:26, George Georgalis wrote:
> I'm having difficulty "mouning a file on the loopback device"...
>
> I created a file, (from linux to dfly) like so:
>
> dd if=/dev/hda1 | ssh dfly "dd of=/usr/hda1.dd"
>
> I'd like to (as expressed in linux world)
>
> mount -olo /usr/hda1.dd /mnt && rsync --delete -avessh /mnt/
> linux:/mnt/hda1/
>
> the filesystem happens to be fat32, so I guess I need to enable that in
> the kernel, and what else? I don't see lo as a mount option... (for now
> I've just dd-ed back the whole thing)

you want:
vnconfig(8) -c -v /dev/vn0c file, mount -t msdos vn0c /mnt (about that)

cheers
  simon

-- 
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20050301/cbbe3a60/attachment-0020.obj>


More information about the Users mailing list