John Brahy wrote:
Have I completely lost my mind or should I be able to give newfs a block device?
# df -ht ffs
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 1006M 203M 753M 21% /
/dev/wd0j 7.9G 6.0G 1.5G 81% /home
/dev/wd0i 1006M 6.0K 956M 0% /tmp
/dev/wd0d 3.9G 1.2G 2.6G 32% /usr
/dev/wd0k 9.8G 730M 8.6G 8% /usr/local
/dev/wd0f 2.0G 66.6M 1.8G 3% /usr/obj
/dev/wd0e 2.0G 1.1G 774M 60% /usr/src
/dev/wd0h 1006M 123M 833M 13% /var
/dev/wd0l 114G 78.4G 30.1G 72% /virtualhosts
/dev/wd1a 367G 84.9G 264G 24% /backups
/dev/wd0g 2.0G 221M 1.7G 12% /usr/ports
# umount obj
# newfs /dev/wd0f
newfs: /dev/wd0f: block device
#
I thought that I have done that before. Have we lost functionality in
4.5 or just my mind?
from newfs(8):
The special file should be a raw device, for example /dev/rsd0a; if a
relative path like sd0a is specified, the corresponding raw device is
used.
use /dev/rwd0f
Tom