Date: Sun, 18 Oct 2009 01:03:06 +0200 From: Polytropon <freebsd@edvax.de> To: krad <kraduk@googlemail.com> Cc: PJ <af.gourmet@videotron.ca>, michael <michael.copeland@gmail.com>, freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must Message-ID: <20091018010306.3484ae98.freebsd@edvax.de> In-Reply-To: <d36406630910171547o2e4fd978y7247d90270b9d4c9@mail.gmail.com> References: <4AD8EB8F.9010900@videotron.ca> <4AD95740.6010408@gmail.com> <4ADA3D48.70307@videotron.ca> <d36406630910171547o2e4fd978y7247d90270b9d4c9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Oct 2009 23:47:56 +0100, krad <kraduk@googlemail.com> wrote: > he has a raw file system on that device, ie dangerously dedicated, no > partitions etc That's the standard mode for data disks that are not intended to be booted from. It's usable for USB sticks as well. There's no need for a slice. The comment "no partitions" is partially incorrect, because there is "kind of" a partition on the device. Note that this partition spans the whole device, which is indicated by the letter "c". In this case, /dev/da0 is /dev/da0c. I think it was in FreeBSD 5 when the "c" for "the whole" disk / partition has been "removed" (well, it's still there, it's the reason that you usually can't create da0s1a, da0s1b AND da0s1c, because da0s1c is da0s1), from the disk devices as well as from the acd devices (acd0c is acd0 today). At least, it's correct to say that there's one file system on the disk. Tools like fdisk and bsdlabel haven't been involved in creating it, just # newfs /dev/da0 was the tool of choice. I'd like to add that I've used this method on PDs (phase change discs) as well; they were introduced as da0 to the device directory. No need for slices because the whole disc should be used as one volume. A final note: You can, however, create multiple partitions on a device with no underlying slice, such as da0a, da0b, da0d, da0e etc. And FreeBSD can boot from it without problems. It's always the MICROS~1 stuff that has problems with it. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091018010306.3484ae98.freebsd>