Using /dev/adX instead of adXc or adXe

Andrew Pantyukhin infofarmer at gmail.com
Tue Mar 14 09:51:26 UTC 2006


On 3/14/06, illoai at gmail.com <illoai at gmail.com> wrote:
> On 3/13/06, Andrew Pantyukhin <infofarmer at gmail.com> wrote:
> > What's wrong with "newfs /dev/ad1" "mount /dev/ad1 /mnt"
> > and using it? The disk will never be used as bootable, and
> > will never be installed in a non-bsd computer. It's just there
> > for storage.
> >
> > So is there a caveat?
>
> I've heard of it being done accidently with no ill effects,
> and I've done it under qemu with no ill effects.  It makes
> me feel better to have some abstraction WRT disks, I've
> tended to use glabel(8) for handling this.

Hmm, glabel sounds nice. I wonder if I can get away with
labelling a live disk and just replacing /dev/adX with
/dev/label/mydiskXXX in fstab. Looks like I can replug the
drives any way I want and still have them mounted
correctly after that, right?


More information about the freebsd-questions mailing list