Hi. I have a 10GB partition, /dev/hda2, and I want to mount just the first 2GB 
of it (long story). I tried using losetup:

losetup /dev/loop1 /dev/hda2 && mount /dev/loop1 /mnt/1
mount /dev/hda2 /mnt/2
touch /mnt/2/foo
sync

but there's no 'foo' file in /mnt/1/. hda2 is ext2, and there is a /lost+found 
in both directories.

Any of you know what else I could try? mount does not let me use the size= 
option with ext2, only with tmpfs.

robert
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to