strange newfs results

[ Available lists | Index of freebsd-current | Month of Jun 2009 | Week of 12 Jun 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Alexander Best <alexbestms@math.uni-muenster.de>
Date
12 Jun 2009 08:08:41
Subject
strange newfs results
Message-ID
permail-20090612080837f0889e84000055aa-a_best01@message-id.uni-muenster.de

Referenced by

[ Hide this part ]
hi there,

i was surprised to see the following:

1. pax -w -f /dev/ad0p2 .
2. file -s /dev/ad0p2 -> POSIX tar archive
3. newfs -U -L usr /dev/ad0p2
4. file -s /dev/ad0p2 -> POSIX tar archive

mounting/reading/writing ad0p2 however works like one expects from a ufs
partition. i added a `dd if=/dev/zero of=/dev/ad0p2 bs=1m count=10` between
step 2 and 3 and now ad0p2 is recognised by `file -s` as "Unix Fast File
system".

is this a bug or a feature? i'm running r193846M.

cheers.

Elapsed time: 0.129 seconds