Re: Mounting a file as a filesystem

1996-12-08 Thread tomk%westgac3
Hamish Moffatt writes: Dale Scheetz [EMAIL PROTECTED] writes: This may be true (most probably is) but mkisofs is the tool I know about from personal experience. How would I create an ext2fs in a file? Wouldn't it still need to be a ro file system? You use losetup to make the

Re: Mounting a file as a filesystem

1996-12-07 Thread Scott Barker
Dale Scheetz said: If you use loop devices at all you will certainly want more than one. My system has loop0 thru loop7. As does mine. 'MAKEDEV loop' creates them all (at least, it did on my Debian 1.1 system). This would allow your mount to look like: mount -o loop=/dev/loop2 -t ext2

Re: Mounting a file as a filesystem

1996-12-07 Thread Hamish Moffatt
Dale Scheetz [EMAIL PROTECTED] writes: This may be true (most probably is) but mkisofs is the tool I know about from personal experience. How would I create an ext2fs in a file? Wouldn't it still need to be a ro file system? You use losetup to make the loop, then make the fs, and then

Mounting a file as a filesystem

1996-12-06 Thread Simon Martin
Hi all, I have two disks on my PC, hda=127 MB and hdb=1.6 GB. I am using hda for Debian, hdb is Win95. I installed Debian on hda as a test and promptly fell in love with it. Unfortunately I earn my living developing for Win 3.x/Win 95 and so cannot easily repartition my main disk. I heard some

Re: Mounting a file as a filesystem

1996-12-06 Thread Paul Seelig
On Thu, 5 Dec 1996, Simon Martin wrote: I installed Debian on hda as a test and promptly fell in love with it. Unfortunately I earn my living developing for Win 3.x/Win 95 and so cannot easily repartition my main disk. I heard some noise on this list about setting being able to mount a file

Re: Mounting a file as a filesystem

1996-12-06 Thread Dale Scheetz
On Thu, 5 Dec 1996, Simon Martin wrote: Hi all, I have two disks on my PC, hda=127 MB and hdb=1.6 GB. I am using hda for Debian, hdb is Win95. I installed Debian on hda as a test and promptly fell in love with it. Unfortunately I earn my living developing for Win 3.x/Win 95 and so cannot

Re: Mounting a file as a filesystem

1996-12-06 Thread Hamish Moffatt
a filesystem. I would like to know how I can create say a 200MB file on hdb (Win 95) and mount it as a filesystem on say /usr. Is this possible? What do I need to do it? You can create an iso9660 read only file system image file with mkisofs on your win95 partition and then mount it

Re: Mounting a file as a filesystem

1996-12-06 Thread Mike Schmitz
Partition Magic will repartition a DOS or win95 volume without destroying data. It is also very easy to use. On Thu, 5 Dec 1996, Simon Martin wrote: Hi all, I have two disks on my PC, hda=127 MB and hdb=1.6 GB. I am using hda for Debian, hdb is Win95. I installed Debian on hda as a test

Re: Mounting a file as a filesystem

1996-12-06 Thread Nick Busigin
On Fri, 6 Dec 1996, Paul Seelig wrote: I think Debian distributions normally provide FIPS but not the most recent version with all (minor) bugfixes included. I regularily use FIPS for splitting harddisk partitions (20 times so far) and never managed to get data destroyed on any up to now.

Re: Mounting a file as a filesystem

1996-12-06 Thread Paul Seelig
On Fri, 6 Dec 1996, Nick Busigin wrote: data destroyed on any up to now. FIPS is a very secure tool and makes it possible to undo a partiton splitting without doing harm to the data on it. Works well with Win95 vfat file systems. Just out of curiousity... does fips work with an NT file

Mounting a file as a filesystem

1996-12-06 Thread Simon Martin
Hi all, Thanks for the suggestions. I dowloaded FIPS and used it to repartition my hard disk. I haven't found any problems yet. Thanks Simon -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Re: Mounting a file as a filesystem

1996-12-06 Thread Guy Maor
Dale Scheetz [EMAIL PROTECTED] writes: This may be true (most probably is) but mkisofs is the tool I know about from personal experience. How would I create an ext2fs in a file? Wouldn't it still need to be a ro file system? You use losetup to make the loop, then make the fs, and then mount

Re: Mounting a file as a filesystem

1996-12-06 Thread Dale Scheetz
On Fri, 6 Dec 1996, Hamish Moffatt wrote: a filesystem. I would like to know how I can create say a 200MB file on hdb (Win 95) and mount it as a filesystem on say /usr. Is this possible? What do I need to do it? You can create an iso9660 read only file system image file with

Re: Mounting a file as a filesystem

1996-12-06 Thread Scott Barker
Dale Scheetz said: This may be true (most probably is) but mkisofs is the tool I know about from personal experience. How would I create an ext2fs in a file? Wouldn't it still need to be a ro file system? dd if=/dev/zero of=/path/to/file bs=1k count=size mke2fs /path/to/file size mount -t ext2

Re: Mounting a file as a filesystem

1996-12-06 Thread Sebastian Kuzminsky
The loop device is pretty nifty. I use it to maintain a root-disk image used on a special-purpose diskless machine. To make changes to the root disk, i mount the image, update the FS, unmount it, compress it, and copy the compressed file to a floppy. Then i can bootstrap the system from that

Re: Mounting a file as a filesystem

1996-12-06 Thread Scott Barker
Scott Barker said: mount -t ext2 /path/to/file /mount/point oops. That should be mount -o loop -t ext2 /path/to/file /mount/point And, don't forget to make sure that the loop devices have been created: cd /dev ./MAKEDEV loop -- Scott Barker Linux Consultant [EMAIL PROTECTED]

Re: Mounting a file as a filesystem

1996-12-06 Thread Guy Maor
Sebastian Kuzminsky [EMAIL PROTECTED] writes: So my question is this: how do i fsck the filesystem in a file? Use losetup(8) to associate the loop device with a file first, then fsck, and then mount. losetup /dev/loop0 /the/loopback/file fsck -t ext2 /dev/loop0 mount -t ext2 /dev/loop0

Re: Mounting a file as a filesystem

1996-12-06 Thread Dale Scheetz
On Fri, 6 Dec 1996, Scott Barker wrote: Scott Barker said: mount -t ext2 /path/to/file /mount/point oops. That should be mount -o loop -t ext2 /path/to/file /mount/point And, don't forget to make sure that the loop devices have been created: cd /dev ./MAKEDEV loop If you use

Re: Mounting a file as a filesystem

1996-12-06 Thread Sebastian Kuzminsky
Sebastian Kuzminsky [EMAIL PROTECTED] writes: ]So my question is this: how do i fsck the filesystem in a file? Guy Maor [EMAIL PROTECTED] wrote: ] Use losetup(8) to associate the loop device with a file first, then ] fsck, and then mount. ] ] losetup /dev/loop0 /the/loopback/file ] fsck -t