Re: CLI filesystem format tool



On Sun, Apr 29, 2007 at 06:16:39PM -0400, Kris Kennaway wrote:
On Sun, Apr 29, 2007 at 03:53:19PM -0600, Chad Perrin wrote:
Is there a simple command line tool in FreeBSD for creating a filesystem
on an already extant slice?

I'm working on a system with three main slices -- ad0s1, ad0s2, and
ad0s3. The ad0s2 slice is further split up into the default parts of a
FreeBSD install. The ad0s1 slice is in use by another OS. The ad0s3
slice has nothing of value on it, and I want to make it a FreeBSD-native
filesystem then mount it at /usr/home.

I've been hoping to find something akin to the Linux tool mkfs for this
purpose, but so far have come up empty. Isn't there something that
works similarly to that? Example:

command /dev/ad0s3 fstype

newfs

Thanks. That's exactly what I needed. It doesn't seem to show up for
any of the usual suspect search terms with apropos.

--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("Just another Perl hacker", 0, -2);
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Replaced drive
    ... ad0s1: truncating raw partition ... ad0s1: rejecting partition in BSD label: it isn't entirely within the slice ...
    (freebsd-questions)
  • partition C doesnt start at 0!
    ... I can boot from ad0s1. ... I am still monkeying around with the ad0s2 slice. ... partition a: partition extends past end of unit ...
    (freebsd-current)
  • Re: Kernel mixup after dump/restore
    ... Started out with a 20 Gig drive with two equal slices, ad0s1 and ad0s2. ... Used the following command to copy partitions from ad0s2 to ad0s1; ... When I boot the first slice, dfshows all the partitions to be ad0s1, except root, which is ad0s2. ...
    (freebsd-questions)
  • Re: CLI filesystem format tool
    ... on an already extant slice? ... The ad0s2 slice is further split up into the default parts of a ... The ad0s1 slice is in use by another OS. ... The ad0s3 ...
    (freebsd-questions)
  • Re: CLI filesystem format tool
    ... on an already extant slice? ... The ad0s3 ... I would suggest that you first use bsdlabel to create a single partition ... You enter an edit more. ...
    (freebsd-questions)