Age | Commit message (Collapse) | Author |
|
|
|
* store.h: Remove defns of STORAGE_*, now in <hurd/hurd_types.h>.
|
|
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
* file.c (fiopen): Treat EROFS same as EACCES.
|
|
|
|
|
|
|
|
|
|
New declaration.
(store_mvol_class):
New declaration.
|
|
Add mvol.c.
|
|
|
|
Initialize NEW->misc_len.
|
|
Allocate the correct amount of memory for the encoding vectors.
|
|
|
|
Let BSIZE be zero.
|
|
If BLOCK_SIZE is zero, make sure there are no runs.
|
|
Pass 0 for OFFSET and SIZE arguments to device_map -- mach ignores them, and
we often can't supply meaningful values.
(store_device_create):
Treat devices that can't do device_get_status as zero-length.
|
|
|
|
Correctly unparse complex type names.
|
|
|
|
Declaration removed.
|
|
If we are mutating SOURCE, close any source port it has.
|
|
If we can't map STORE directly, and it has a source file, try to map that
instead.
|
|
|
|
New function.
(store_device_class):
Use dev_map.
(dev_read, dev_write):
Remove debugging grot.
|
|
New function.
(store_file_class):
Use file_map.
|
|
Use zero_map.
(zero_map):
New function.
|
|
Add map.c.
|
|
|
|
Add map field.
(store_map):
New declaration.
|
|
|
|
New functions.
(store_file_class):
Use new functions.
(store_file_open):
Use fiopen to open the file.
Set name of newly created store.
(store_file_byte_class):
Fill in rest of functions.
(file_read, file_write, file_byte_read, file_byte_write):
Remove debugging noise.
|
|
Move enforcement checking code to enforce.
(enforced):
Move some checking here from dev_set_flags, and correct the check for the
number of stores.
|
|
|
|
Support factored type notation.
|
|
|
|
If NAME doesn't contain a `:' separator, try to use it as either a class
name or a file name.
Interpret a trailing or leading `:' as unambiguously referring to a
class-name or a filename, respectively.
|
|
Use parse_type to parse the -T option.
(parse_type):
New function.
(struct store_parsed):
Add NAME_PREFIX field.
(store_parsed_free):
Free it.
(store_parsed_append_args):
Emit it.
(store_parsed_open):
Use it in opens.
|
|
|
|
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
If *MOD_FLAGS already contains STORE_HARD_READONLY, don't ever try to open
for reading.
(_store_device_create):
Use _store_create instead of _make_store.
Update FSF address.
|
|
Set the store name if possible.
(store_concat_open):
New function.
(store_ileave_create, store_concat_create):
Use _store_create instead of _make_store.
Update FSF address.
|
|
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
Pass the original value of CLASSES to any decode method, not our search
tail.
Update FSF address.
|
|
New functions.
Update FSF address.
|
|
Renamed from _make_store.
Return an error_t code, and add an additional argument STORE to return the
new store; all uses changed.
Update FSF address.
|