NetBSD-Users archive

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

Re: newfs_udf(8) and other OSes



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




Greetings,
-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index