1367 Commits

Author SHA1 Message Date
Baptiste Wicht
9f99d7d87c Fix constness 2016-08-15 21:30:53 +02:00
Baptiste Wicht
a58c4b90fa Path can be empty 2016-08-15 21:28:41 +02:00
Baptiste Wicht
bc3ef4e28c Prepare a path abstraction 2016-08-15 21:25:00 +02:00
Baptiste Wicht
2de3664f4e Save some copies 2016-08-15 21:01:46 +02:00
Baptiste Wicht
ebad2b79fe Fixes for sub file systems 2016-08-15 20:52:29 +02:00
Baptiste Wicht
a7266b40e7 Fix the message 2016-08-15 20:48:35 +02:00
Baptiste Wicht
615f637b94 Better debugging 2016-08-15 20:35:57 +02:00
Baptiste Wicht
64d0687862 Complete implementation of mount 2016-08-15 20:30:44 +02:00
Baptiste Wicht
34ccd1e0a7 Prepare mount system call 2016-08-15 20:17:25 +02:00
Baptiste Wicht
aa5ee5775a Support for expected<void, E> 2016-08-15 20:15:56 +02:00
Baptiste Wicht
b1adc8704b Add mount system call 2016-08-15 19:53:17 +02:00
Baptiste Wicht
e76c7a37f3 Use return instead of exit 2016-08-15 19:25:53 +02:00
Baptiste Wicht
a8941c4a39 Provide a start function in tlib 2016-08-15 19:17:33 +02:00
Baptiste Wicht
625f062f22 Make better use of paging::pages 2016-08-15 17:15:34 +02:00
Baptiste Wicht
7b6eb8c049 Pass only the fd to ioctl 2016-08-15 17:09:41 +02:00
Baptiste Wicht
106f53d9d3 Prepare mount for more features 2016-08-14 22:12:37 +02:00
Baptiste Wicht
4f3fb72f1a Complete mkfs 2016-08-14 22:05:34 +02:00
Baptiste Wicht
a6c27f981e Fix make_unique 2016-08-14 22:05:29 +02:00
Baptiste Wicht
102696511a Add std::make_unique 2016-08-14 22:02:38 +02:00
Baptiste Wicht
06ae438bc7 Cleanup 2016-08-14 21:58:17 +02:00
Baptiste Wicht
4aed56d315 Add some logging 2016-08-14 21:41:55 +02:00
Baptiste Wicht
59dbdbd4fe Use ceil_divide 2016-08-14 12:43:09 +02:00
Baptiste Wicht
4fae217f61 Review mem functions 2016-08-14 12:41:49 +02:00
Baptiste Wicht
cbf01d3a01 Fix paging::pages 2016-08-14 12:30:26 +02:00
Baptiste Wicht
be411b2d06 Review memclr 2016-08-14 11:49:24 +02:00
Baptiste Wicht
94c04a035b Fix ramdisk read 2016-08-14 11:32:47 +02:00
Baptiste Wicht
553fc5f928 Add clear(fd) system 2016-08-14 11:14:22 +02:00
Baptiste Wicht
0ea59784ee Add support for operation clear in device drivers 2016-08-13 12:24:32 +02:00
Baptiste Wicht
2154f7ebcf Add support for clearing sectors 2016-08-13 12:20:17 +02:00
Baptiste Wicht
7a43333ef0 Remove TODO (already done) 2016-08-13 12:20:07 +02:00
Baptiste Wicht
1dedabe1c0 Fix ramdisk issues 2016-08-11 23:35:10 +02:00
Baptiste Wicht
c4ee872169 More verbose 2016-08-11 23:20:36 +02:00
Baptiste Wicht
572ebec095 Make check_fat more verbose 2016-08-11 23:00:30 +02:00
Baptiste Wicht
c651b5c672 Silence some warnings 2016-08-11 22:59:51 +02:00
Baptiste Wicht
1074d56ec3 Add log 2016-08-11 22:55:33 +02:00
Baptiste Wicht
6431cbc2d0 Write the FAT32 BS and FAT32 IS 2016-08-11 22:55:25 +02:00
Baptiste Wicht
4ce4318bdb Fix expected 2016-08-11 22:39:27 +02:00
Baptiste Wicht
88aa6ec9e9 Code style 2016-08-11 22:37:07 +02:00
Baptiste Wicht
a04d2c3513 Complete mkfs 2016-08-11 22:25:18 +02:00
Baptiste Wicht
395e6ec8db Add std::ceil_divide 2016-08-11 22:25:05 +02:00
Baptiste Wicht
afd3cde5c2 Start mfks program 2016-08-11 21:45:29 +02:00
Baptiste Wicht
536fbcbb1c Fix ramdisk size 2016-08-11 21:44:46 +02:00
Baptiste Wicht
79b6088bba Correct device size 2016-08-11 21:38:18 +02:00
Baptiste Wicht
90c30daedc Get the size of ATA disks 2016-08-11 21:02:27 +02:00
Baptiste Wicht
39e4eae81a Add a way to get device size 2016-08-11 20:30:56 +02:00
Baptiste Wicht
ca4600a51b Prepare ioctl support 2016-08-11 20:07:28 +02:00
Baptiste Wicht
0a5128dfa7 Optimization for ramdisk
Do not allocate pages on read
2016-08-11 18:54:58 +02:00
Baptiste Wicht
5516b25562 Fix ramdisk implementation 2016-08-11 18:53:29 +02:00
Baptiste Wicht
b631f251de Complete ramdisk implementation 2016-08-10 22:17:02 +02:00
Baptiste Wicht
8306a3ec21 New utility function: paging::pages 2016-08-10 22:16:23 +02:00