Changeset 93fb170c in mainline for uspace/app/init/init.c
- Timestamp:
- 2011-01-08T18:51:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15be932
- Parents:
- 8f748215 (diff), a523af4 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r8f748215 r93fb170c 57 57 #define DEVFS_MOUNT_POINT "/dev" 58 58 59 #define SCRATCH_FS_TYPE "tmpfs"60 #define SCRATCH_MOUNT_POINT "/scratch"59 #define TMPFS_FS_TYPE "tmpfs" 60 #define TMPFS_MOUNT_POINT "/tmp" 61 61 62 62 #define DATA_FS_TYPE "fat" 63 #define DATA_DEVICE "bd/ disk0"63 #define DATA_DEVICE "bd/ata1disk0" 64 64 #define DATA_MOUNT_POINT "/data" 65 65 … … 235 235 } 236 236 237 static bool mount_ scratch(void)238 { 239 int rc = mount( SCRATCH_FS_TYPE, SCRATCH_MOUNT_POINT, "", "", 0);240 return mount_report(" Scratch filesystem", SCRATCH_MOUNT_POINT,241 SCRATCH_FS_TYPE, NULL, rc);237 static bool mount_tmpfs(void) 238 { 239 int rc = mount(TMPFS_FS_TYPE, TMPFS_MOUNT_POINT, "", "", 0); 240 return mount_report("Temporary filesystem", TMPFS_MOUNT_POINT, 241 TMPFS_FS_TYPE, NULL, rc); 242 242 } 243 243 … … 271 271 } 272 272 273 mount_ scratch();273 mount_tmpfs(); 274 274 275 275 spawn("/srv/fhc");
Note:
See TracChangeset
for help on using the changeset viewer.