NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: newfs_udf(8) and other OSes



On Sun, Jun 28, 2015 at 08:36:19AM +0000, Michael van Elst wrote:
> tlaronde%polynum.com@localhost writes:
> 
> >> myudfwedge -> just a byte string that gives the wedge a name
> >> udf -> the wedge type (also a string).
> >> 
> 
> >Is the wedge name a token that can be used directly with other utilities
> >or is the device name assigned (/dev/dkN) the "name" to use in every
> >case?
> 
> In netbsd-6 it is just an internal name and the utilities have to use
> the /dev/dkN (or /dev/rdkN) devices. Some understand dkN and expand
> it to the proper pathname.
> 
> In netbsd-7, many utilities understand the string NAME=wedgename and
> translate them to /dev/dkN accordingly. Some bootloaders also understand
> a string wedge:wedgename to select a wedge as the root filesystem.
> 
> E.g. the RPI2 here uses the boot command line:
> 
> verbose fb=1920x1200 root=wedge:twitty-root console=fb
> 
> and uses the following fstab entries:
> 
> NAME=twitty-root        /               ffs     rw,log,nodevmtime       1 1
> NAME=twitty-usr         /usr            ffs     rw,log          1 1
> NAME=twitty-var         /var            ffs     rw,log          1 1
> NAME=twitty-swap        none            swap    sw              0 0
> NAME=bootcard/e         /boot           msdos   rw              1 1
> NAME=twitty-home        /home           lfs     rw,nodev,nosuid 1 2
> 

Thanks for the explanations!

In the interim, on netbsd-6, I will simply parse dkctl(8) output
in scripts to have the automatically added wedge.

Best,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                     http://www.arts-po.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index