Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 20:52:15 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Nikolas Britton <nikolas.britton@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Using a hard drive without partitions
Message-ID:  <20050807202720.T46397@maren.thelosingend.net>
In-Reply-To: <ef10de9a050730012642c200b6@mail.gmail.com>
References:  <ef10de9a050730012642c200b6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

* Nikolas Britton [2005-07-30 03:26 -0500]
>  What are the ramifications, good or bad, of not using partitions on a
>  FreeBSD disk?.... What is wrong with just a slice?


In FreeBSD, you can newfs a disk (eg. ad0), a slice (eg. ad0s1) or a 
partition (eg. ad0s1a). Even a regular file could be newfs-ed!

You can also bsdlabel either a disk or a slice or a regular file, and this 
way you can create a /dev/ad0a device. Also fdisk can handle regular 
files, so you can slice a file. Even though this last example would make 
much sense, the former do!

I have newfs-ed the c-partition myself several times, and also skipped the 
bsdlabel-ing completely and just newfs'ed the entire slice. On dvd+rw, 
I've newfs-ed the media, without slicing or partitioning/labeling first.
I haven't tried to bsdlabel a disk, though.

I guess the problem with using such setups would be non-standardization. 
That is, other systems might not know how to interact with your particular 
setup. Otherwise it should be fine. It's not much use either, though, to 
skip to partitioning; you don't save much space by doing so.


Svein Halvor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050807202720.T46397>