On Thu, Sep 17, 2009 at 8:30 PM, Rich <[email protected]> wrote:
> How would I format a floppy to a linux file system, ext2 or other?
> GUI or command line is fine.
>
> Is there any advantage to doing so in order to save the preferences of
> a CD only system, over a regular DOS 1.44 format?
Ext2 file system knows about user/group ID and rwx permissions. DOS doesn't.
$ sudo /sbin/fdisk /dev/fd0
set one partition, default type 83
Note that fdisk will call the partition /dev/fd0p1, but mkfs knows only /dev/fd0
$ sudo mkfs.ext2 /dev/fd0
After this, you can do something like
$ sudo mount /dev/fd0 /mnt
$ cd /mnt
$ touch foo
$ ls -l
total 13
-rw-rw-r-- 1 cdl cdl 0 Sep 17 21:21 foo
drwx------ 2 root root 12288 Sep 17 21:19 lost+found
You might want to get rid of the lost+found directory since it is not
likely that you will be using fsck on the floppy.
$ sudo rm -rf lost+found
Quick blast from the past, actually trying this to refresh my memory.
--
carl lowenstein marine physical lab u.c. san diego
[email protected]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie