CLI filesystem format tool



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

--
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

  • Re: some issues about partitions and boot manager in dual boot cases with Windows
    ... freeBSD edition. ... The first is installing on a disk that is completely given to FreeBSD ... master, Windows 2000 or XP, and on the other, on the first partition, the ... It requires its own slice. ...
    (freebsd-questions)
  • Re: Moving existing FreeBSD system to a new harddisk...
    ... I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. ... from the old to the new hard disk. ... occupies the first slice (called primary partition) of each disk. ...
    (freebsd-questions)
  • Re: Downloads
    ... There was one unused partition. ... (used unconsistently with the rest of FreeBSD). ... division of the disk is called a slice. ...
    (freebsd-questions)
  • Re: Laptop questions
    ... > laptop, and I'm rewarding myself for a recent accomplishment, I ... Make sure you leave the MS install in the original slice. ... FreeBSd stuff because MS doesn't respect anything else and will overwrite ... that can shrink NTFS type file systems. ...
    (freebsd-questions)
  • Re: Disk Geometry
    ... I'm trying to dive into the freebsd world from many years ... the disk partition section an error appears saying that the disk ... and MS uses the term 'primary partition' to refer to the same thing. ... FreeBSD must be installed/built in a free slice (primary partition by ...
    (freebsd-questions)