View Single Post
Old 1st February 2012
gillindu gillindu is offline
Port Guard
Join Date: Jan 2012
Posts: 36

Originally Posted by IdOp View Post
Make the FFS filesystem with newfs from a running NetBSD system, such as the install CD, once the disklabel is set up for the slice.
For the slice only, or also for the new partition I'm going to create? I've done the later
 g:  12273471 200957274     4.2BSD   2048 16384     0  
 h:  11514762 189442512     4.2BSD   2048 16384     0  
and run the command
newfs /dev/wd0g
first without paremetars, and then with "-0 1", but, I was getting
newfs: /dev/wd0g is a block device. use raw device
So, I'm assuming I should have run the command on the entire disk (wd0), but, since "newfs is used to initialize and clear file systems before first use", I am concerned whether it will format all ffs partitions it will see from disklabel? How will it know it should deal only with /dev/wd0g? The man page doesn't specify whether that program runs (or might be run) interactively and I don't understand its syntax (or, at least, I don't understand what does it intend by "special").
Reply With Quote