Home
last modified time | relevance | path

Searched refs:tmp_node (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/util-linux/volume_id/
Dvolume_id.c242 char *tmp_node[VOLUME_ID_PATH_MAX]; in volume_id_open_dev_t() local
244 tmp_node = xasprintf("/dev/.volume_id-%u-%u-%u", in volume_id_open_dev_t()
248 unlink(tmp_node); in volume_id_open_dev_t()
249 if (mknod(tmp_node, (S_IFBLK | 0600), devt) != 0) in volume_id_open_dev_t()
250 bb_perror_msg_and_die("can't mknod(%s)", tmp_node); in volume_id_open_dev_t()
252 id = volume_id_open_node(tmp_node); in volume_id_open_dev_t()
253 unlink(tmp_node); in volume_id_open_dev_t()
254 free(tmp_node); in volume_id_open_dev_t()