Changeset 77a194c in mainline for uspace/srv
- Timestamp:
- 2015-11-04T18:55:46Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44183b98
- Parents:
- 5265eea4 (diff), bfcde8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv
- Files:
-
- 10 added
- 2 deleted
- 1 edited
- 4 moved
-
bd/part/guid_part/guid_part.c (deleted)
-
bd/part/mbr_part/mbr_part.c (deleted)
-
bd/vbd/Makefile (moved) (moved from uspace/srv/bd/part/guid_part/Makefile ) (2 diffs)
-
bd/vbd/disk.c (added)
-
bd/vbd/disk.h (added)
-
bd/vbd/types/vbd.h (added)
-
bd/vbd/vbd.c (added)
-
locsrv/locsrv.c (modified) (1 diff)
-
volsrv/Makefile (moved) (moved from uspace/srv/bd/part/mbr_part/Makefile ) (2 diffs)
-
volsrv/empty.c (added)
-
volsrv/empty.h (moved) (moved from uspace/app/hdisk/func_gpt.h ) (2 diffs)
-
volsrv/mkfs.c (added)
-
volsrv/mkfs.h (added)
-
volsrv/part.c (added)
-
volsrv/part.h (moved) (moved from uspace/app/hdisk/func_mbr.h ) (2 diffs)
-
volsrv/types/part.h (added)
-
volsrv/volsrv.c (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/vbd/Makefile
r5265eea4 r77a194c 1 1 # 2 # Copyright (c) 201 0Jiri Svoboda2 # Copyright (c) 2015 Jiri Svoboda 3 3 # All rights reserved. 4 4 # … … 27 27 # 28 28 29 USPACE_PREFIX = ../../../.. 30 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 31 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) 29 USPACE_PREFIX = ../../.. 32 30 33 # Correct name is 'guid_part' but must use this because of FAT 8.3 names. 34 BINARY = g_part 31 LIBS = \ 32 $(LIBLABEL_PREFIX)/liblabel.a \ 33 $(LIBBLOCK_PREFIX)/libblock.a 34 35 EXTRA_CFLAGS = \ 36 -I$(LIBLABEL_PREFIX)/include \ 37 -I$(LIBBLOCK_PREFIX) 38 39 BINARY = vbd 35 40 36 41 SOURCES = \ 37 guid_part.c 42 disk.c \ 43 vbd.c 38 44 39 45 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/locsrv/locsrv.c
r5265eea4 r77a194c 1317 1317 categ_dir_add_cat(&cdir, cat); 1318 1318 1319 cat = category_new("disk"); 1320 categ_dir_add_cat(&cdir, cat); 1321 1322 cat = category_new("partition"); 1323 categ_dir_add_cat(&cdir, cat); 1324 1319 1325 cat = category_new("iplink"); 1320 1326 categ_dir_add_cat(&cdir, cat); -
uspace/srv/volsrv/Makefile
r5265eea4 r77a194c 1 1 # 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 2 # Copyright (c) 2015 Jiri Svoboda 4 3 # All rights reserved. 5 4 # … … 28 27 # 29 28 30 USPACE_PREFIX = ../../../.. 29 USPACE_PREFIX = ../.. 30 31 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 32 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) 33 BINARY = mbr_part 32 EXTRA_CFLAGS = -I $(LIBBLOCK_PREFIX) 33 34 BINARY = volsrv 34 35 35 36 SOURCES = \ 36 mbr_part.c 37 empty.c \ 38 mkfs.c \ 39 part.c \ 40 volsrv.c 37 41 38 42 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/volsrv/empty.h
r5265eea4 r77a194c 1 1 /* 2 * Copyright (c) 201 2-2013 Dominik Taborsky2 * Copyright (c) 2015 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup hdisk29 /** @addtogroup volsrv 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 34 * @brief 33 35 */ 34 36 35 #ifndef __FUNC_GPT_H__36 #define __FUNC_GPT_H__37 #ifndef EMPTY_H_ 38 #define EMPTY_H_ 37 39 38 40 #include <loc.h> 39 #include <tinput.h>40 #include <libgpt.h>41 #include "common.h"42 41 43 extern int construct_gpt_label(label_t *); 44 extern int add_gpt_part(label_t *, tinput_t *); 45 extern int delete_gpt_part(label_t *, tinput_t *); 46 extern int destroy_gpt_label(label_t *); 47 extern int new_gpt_label(label_t *); 48 extern int print_gpt_parts(label_t *); 49 extern int read_gpt_parts(label_t *); 50 extern int write_gpt_parts(label_t *); 51 extern int extra_gpt_funcs(label_t *, tinput_t *); 42 extern int volsrv_part_is_empty(service_id_t, bool *); 43 extern int volsrv_part_empty(service_id_t); 52 44 53 45 #endif 46 47 /** @} 48 */ -
uspace/srv/volsrv/part.h
r5265eea4 r77a194c 1 1 /* 2 * Copyright (c) 201 2-2013 Dominik Taborsky2 * Copyright (c) 2015 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup hdisk29 /** @addtogroup volsrv 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 34 * @brief 33 35 */ 34 36 35 #ifndef __FUNC_MBR_H__36 #define __FUNC_MBR_H__37 #ifndef PART_H_ 38 #define PART_H_ 37 39 38 40 #include <loc.h> 39 #include < tinput.h>40 #include < libmbr.h>41 #include " common.h"41 #include <sys/types.h> 42 #include <types/vol.h> 43 #include "types/part.h" 42 44 43 extern int construct_mbr_label(label_t *); 44 extern int add_mbr_part(label_t *, tinput_t *); 45 extern int delete_mbr_part(label_t *, tinput_t *); 46 extern int destroy_mbr_label(label_t *); 47 extern int new_mbr_label(label_t *); 48 extern int print_mbr_parts(label_t *); 49 extern int read_mbr_parts(label_t *); 50 extern int write_mbr_parts(label_t *); 51 extern int extra_mbr_funcs(label_t *, tinput_t *); 45 extern int vol_part_init(void); 46 extern int vol_part_discovery_start(void); 47 extern int vol_part_add(service_id_t); 48 extern int vol_part_get_ids(service_id_t *, size_t, size_t *); 49 extern int vol_part_find_by_id(service_id_t, vol_part_t **); 50 extern int vol_part_empty_part(vol_part_t *); 51 extern int vol_part_mkfs_part(vol_part_t *, vol_fstype_t); 52 extern int vol_part_get_info(vol_part_t *, vol_part_info_t *); 52 53 53 54 #endif 55 56 /** @} 57 */
Note:
See TracChangeset
for help on using the changeset viewer.
