Patrick Caulfield
1736f166bc
lc->in->f_op->read expects its buffer to be in userspace so surround it in
...
set_fs() etc calls
2001-09-14 12:27:57 +00:00
Alasdair Kergon
45ee3251a4
Always truncate error file.
2001-09-14 11:15:54 +00:00
Alasdair Kergon
765d06119f
o kmalloc error check
...
o error file mode
The 1st Jan 1970 date I'm seeing in /dev is a devfs issue I think.
2001-09-14 10:06:22 +00:00
Alasdair Kergon
d0bed0c40a
is_identifier characters
2001-09-13 21:50:38 +00:00
Steven Whitehouse
e81b9387b1
o Two fixes which Alasdair pointed out.
2001-09-13 20:10:14 +00:00
Steven Whitehouse
d9c3226ee2
o Tidy in dm-fs.c
...
o Magic number is really magic
o Check on directory names
2001-09-13 19:41:46 +00:00
Alasdair Kergon
cb68f33cf3
o Remove hard-coded mount point
...
o Fix macro for compilation
2001-09-13 16:52:50 +00:00
Joe Thornber
3f03a60736
o first sattab at custom fs. Very rough ATM.
...
Mount the dm-fs filesystem on /device-mapper (will fix later). mkdir
to create a device, inside that directory every file you create is a table
file. If there are errors <table>.err will appear automagically. Mv a table
file to ACTIVE to activeate the device. I'm not happy with mv being the
binding command, symlink would be better.
2001-09-07 11:34:46 +00:00
Joe Thornber
5cdd74f2e9
o Various tidy ups [Andrew Clausen]
2001-09-02 10:49:20 +00:00
Joe Thornber
f058895e26
o added global dm_table_lookup_device(path)
...
o changed linear target to : <device_path> <start>
2001-08-31 18:26:27 +00:00
Joe Thornber
a46d94071b
o added reference counting to the destination devices, make sure that the
...
destructor for any targets you write call dm_table_remove_device.
2001-08-31 16:36:56 +00:00
Joe Thornber
0f29dc2f2d
o split struct mapped_device into mapped_device and dm_table
...
o seperated loading of a table from binding a table to the device
These should allow multiple tables to be managed by dm-fs
2001-08-31 15:13:33 +00:00
Joe Thornber
4183d3fe6c
o tidy ups
2001-08-31 12:49:31 +00:00
Joe Thornber
5410a899ef
o various little tidy ups
2001-08-29 13:58:48 +00:00
Joe Thornber
a18deda24b
o change format of table line to <start> <len> <target> ...
2001-08-28 14:56:47 +00:00
Joe Thornber
bfba809c79
o added proper suspend/resume support, it now waits for all 'in flight' io's
...
to complete.
moved comment to dm.h
2001-08-28 13:04:44 +00:00
Joe Thornber
3cf3ab579e
o map loads ok now
...
o request function appears to work, but something is segfaulting when i
mke2fs
2001-08-23 12:35:02 +00:00
Alasdair Kergon
0bdf99c171
Tweak permissions - currently root-only. (no support for non-root ownership
...
in procfs except for PIDs)
2001-08-22 20:10:06 +00:00
Joe Thornber
016cf45775
o fs_add and fs_remove actually create/remove the device now
2001-08-22 15:33:08 +00:00
Alasdair Kergon
4dd99b7623
Return 0 on success now.
2001-08-22 15:02:55 +00:00
Joe Thornber
71d325549f
o wu macro was doing a read unlock
...
o added dm_fs_add/remveove
2001-08-22 15:01:09 +00:00
Joe Thornber
75d6c8c9f6
o _tok_cpy was broken
2001-08-22 14:30:30 +00:00
Joe Thornber
a548e9cc40
o fix get_word
...
o capy name in when registering targets
o change _line_splitter so it expects the process functions to return zero
on success
2001-08-22 14:13:26 +00:00
Joe Thornber
9d4aaf49c1
o _get_workd was always returning the end on iput
2001-08-22 13:52:26 +00:00
Joe Thornber
8f8fbdc399
o set permissions on /proc/device-mapper/control to -w-w-w
2001-08-22 13:45:28 +00:00
Joe Thornber
5c45d98645
o call dm_init_fs
2001-08-22 13:41:00 +00:00
Joe Thornber
c0068bdd4f
o quick hack to get the proc entry registering
2001-08-21 15:31:50 +00:00
Joe Thornber
e16c478a25
o dm-fs compiles, I've forgotten to register the device in /proc though
2001-08-21 15:24:02 +00:00
Joe Thornber
d534900b91
o proc interface is getting there.
2001-08-20 13:45:43 +00:00
Joe Thornber
05434129e0
Just syncing with the office.
...
o device-mapper.c has split
2001-08-20 08:03:02 +00:00