Source-Changes archive

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

CVS commit: [netbsd-3] src



Module Name:    src
Committed By:   riz
Date:           Thu Dec 29 00:57:09 UTC 2005

Modified Files:
        src/include [netbsd-3]: mntopts.h
        src/lib/libc/sys [netbsd-3]: mount.2
        src/sbin/mount [netbsd-3]: mount.8
        src/share/man/man4 [netbsd-3]: options.4
        src/share/man/man7 [netbsd-3]: symlink.7
        src/sys/conf [netbsd-3]: files newvers.sh
        src/sys/kern [netbsd-3]: init_main.c vfs_lookup.c vfs_syscalls.c
        src/sys/sys [netbsd-3]: fstypes.h systm.h

Log Message:
Pull up following revision(s) (requested by thorpej in ticket #490):
        lib/libc/sys/mount.2: revision 1.33
        sys/sys/systm.h: revision 1.179
        sys/sys/fstypes.h: revision 1.4
        include/mntopts.h: revision 1.6
        sys/conf/newvers.sh: revision 1.41
        sys/kern/vfs_syscalls.c: revision 1.223
        sys/conf/files: revision 1.720
        sys/kern/vfs_lookup.c: revision 1.61
        share/man/man7/symlink.7: revision 1.7
        sbin/mount/mount.8: revision 1.47
        sys/kern/init_main.c: revision 1.248 via patch
        share/man/man4/options.4: revision 1.280 via patch
Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine    value of MACHINE for the system
@machine_arch    value of MACHINE_ARCH for the system
@hostname    the system host name, as set with sethostname()
@domainname    the system domain name, as set with setdomainname()
@kernel_ident    the kernel config file name
@osrelease    the releaes number of the OS
@ostype        the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.2.1 src/include/mntopts.h
cvs rdiff -r1.32 -r1.32.2.1 src/lib/libc/sys/mount.2
cvs rdiff -r1.46 -r1.46.2.1 src/sbin/mount/mount.8
cvs rdiff -r1.268.2.4 -r1.268.2.5 src/share/man/man4/options.4
cvs rdiff -r1.6 -r1.6.6.1 src/share/man/man7/symlink.7
cvs rdiff -r1.712.2.5 -r1.712.2.6 src/sys/conf/files
cvs rdiff -r1.40 -r1.40.4.1 src/sys/conf/newvers.sh
cvs rdiff -r1.244.6.4 -r1.244.6.5 src/sys/kern/init_main.c
cvs rdiff -r1.57 -r1.57.2.1 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.217.2.7 -r1.217.2.8 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.3 -r1.3.10.1 src/sys/sys/fstypes.h
cvs rdiff -r1.175 -r1.175.4.1 src/sys/sys/systm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index