how to create device nodes when devfs doesn't do it?

Karel J. Bosschaart K.J.Bosschaart at tue.nl
Tue Jul 8 00:59:17 PDT 2003


On Mon, Jul 07, 2003 at 10:15:27AM -0700, walt wrote:
> 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.
>
That's how I started, but I'm getting
phys9911# mount /dev/da0s4h /mnt/test/
mount: /dev/da0s4h: No such file or directory

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

That's my experience as well. The partition mounts fine in -stable.

Karel.


More information about the freebsd-current mailing list