Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2003 10:15:27 -0700
From:      walt <wa1ter@myrealbox.com>
To:        "Karel J. Bosschaart" <K.J.Bosschaart@tue.nl>, freebsd-current@freebsd.org
Subject:   Re: how to create device nodes when devfs doesn't do it?
Message-ID:  <3F09AAAF.8000508@myrealbox.com>
In-Reply-To: <bec4fa$2soc$1@FreeBSD.csie.NCTU.edu.tw>
References:  <bec4fa$2soc$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Karel J. Bosschaart wrote:
> Hi,
> 
> After googling and searching in the mailing list archive I still can't 
> figure out how to make device nodes in -current when devfs doesn't do this 
> automatically.  I have an external USB-drive (external 3.5" case with leftover
> 1.6 GB HD) from which I want to mount /dev/da0s4h. It works fine in -stable, 
> after MAKEDEV'ing the node, but on -current I only get da0s4. 


Have you tried mounting da0s4h?  It may show up in /dev after mounting it.


> Using disklabel on the external USB drive shows some warnings:
> 
> phys9911# disklabel da0s4
> # /dev/da0s4:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
> a:    72513       63    4.2BSD     1024  8192    16
> b:   269892    72576      swap
> c:  3324825       63    unused        0     0         # "raw" part, don't edit
> d:   131544   342468    4.2BSD     1024  8192    16
> e:    49896   474012    4.2BSD     1024  8192    16
> g:   716688   523908    4.2BSD     1024  8192    16
> h:  2084292  1240596    4.2BSD     1024  8192    16
> disklabel: partition c doesn't start at 0!
> disklabel: partition c doesn't cover the whole unit!
> disklabel: An incorrect partition c may cause problems for standard system utilities


My experience is that these warnings can be ignored as long as the drive
will mount.



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