Lines Matching refs:devices

30  * devices special files in /devices and logical links in /dev, and
40 #include <bsm/devices.h>
75 * devices to be deallocated with -d :
83 /* list of allocatable devices */
108 /* build nodes in /devices. -y to turn off */
150 /* /devices or <rootdir>/devices */
346 * Build /dev and /devices before daemonizing if
416 /* not a daemon, so just build /dev and /devices */
864 /* don't build /devices */
1084 * Then it calls the appropriate functions to build /devices and /dev.
1106 * is invoked to build /devices and /dev.
1141 * remove dangling entries from /etc/devices
1150 * just need to take a snapshot with active devices.
1152 vprint(CHATTY_MID, "%staking snapshot of active devices\n",
1755 * /dev and /devices for each minor node. minorname can be NULL.
1895 * Reset /devices node to minor_perm perm/ownership
2492 * try to use devices path
2545 (void) strlcat(rcontents, "devices", sizeof (rcontents));
2567 * Add this to the list of allocatable devices. If this
2645 * we need to save the ultimate /devices contents, and not the
2646 * secondary link, since hotcleanup only looks at /devices path.
2647 * Since we don't have devices path here, we can try to get it
2656 * Add this device to the list of allocatable devices.
2681 /* returns pointer to the devices directory */
2965 * Reset /devices node with appropriate permissions and
3015 * Under devfs, a quick insertion and removal of USB devices
3050 * Leave existing devices as they are if we are not
3126 * Note: we don't remove /devices (non-links) entries because they are
3271 * in /devices, the valid link and a stale link. This function will
3303 * try to use devices path
3509 * relative to /devices.
4482 /* We *don't* want a stat of the /devices node */
4547 * devfs_path: Returns malloced string: /devices path w/out "/devices"
4586 * cheap way to do this is to look for a lack of ../devices/.
4620 /* Current link points at a /devices minor node */
4681 * The remaining flags make sense only for /devices
5733 * the following just points linkptr to the root of the /devices
5805 * /devices to <root>/devices, preserving the existing file modes. If
5826 /* Copy /dev to target disk. No need to copy /devices with devfs */
7154 * in /devices may be generic. Could be running with more major
7221 * 3. /devices entry is the clone device and either
7800 * returns DEVFSADM_TRUE if contents is a minor node in /devices.
7804 * if contents is a /devices node, mn_root set to the '/'
7805 * following /devices.
7813 (void) snprintf(device_prefix, sizeof (device_prefix), "../devices/");
7817 /* mn_root should point to the / following /devices */
7823 (void) snprintf(device_prefix, sizeof (device_prefix), "/devices/");
7827 /* mn_root should point to the / following /devices */
8233 * all lofi minor devices are already removed and the call to
8336 * If a lofi mount fails, the /devices node may well have