UFS on a floppy disk?

From: Arno Hahma <arno_at_nitro.pp.utu.fi>
Date: Tue, 24 Mar 1998 15:00:01 +0200 (EET)

System: DEC UNIX 4.0D

Is it possible to format on UFS file system on a floppy disk?

I am trying to do the following:

disklabel -w -t ufs /dev/rfd0c rx23

Looking at /etc/disktab the rx23 entry defines a 1.44 MB floppy disk.

So far so good, everything works and disklabel -r /dev/rfd0c informs:

...

  a: 2880 0 unused 0 0 # (Cyl. 0 - 79)
  b: 0 0 unused 0 0 # (Cyl. 0 - -1)
  c: 2880 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 79)

...



Then I try to do:

newfs -m 0 /dev/rfd0c
newfs: /dev/fd0c: no default sector size
zsh: 12150 exit 8 newfs -m 0 /dev/fd0c

??? What's the problem? That should work just fine, the disklabel
does inform 512 bytes/sector so why can't the mkfs_ufs read it from there?
The floppies work just fine, if an MS-DOS filesystem is used (with
mtools utilities).

ArNO
    2
Received on Tue Mar 24 1998 - 14:00:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT