Commit 89648a4
authored
Switch to ext4 for generated .img files (#374)
Ubuntu has been using [ext4 as the default since Ubuntu 9.10](https://wiki.ubuntu.com/KarmicKoala/TechnicalOverview#ext4_by_default) (2009), and the ext3 driver in the Linux kernel was [removed](https://lwn.net/Articles/651645/) in [version 4.3](https://kernelnewbies.org/Linux_4.3#The_Ext3_filesystem_has_been_removed) (2015), so internally, the ext4 driver has been mounting the ext3 images as loop devices for a long time already on Heroku runtime instances.
All mounts that overlay the read-only root filesystem in containers, such as `/app`, have also been ext4 ever since it became the default:
% heroku run -- mount | head
Running mount on sushi... up, run.3567
/dev/loop17 on / type ext3 (ro,nosuid,nodev,nodiratime,relatime)
none on /dev type tmpfs (rw,relatime,size=492k,mode=755,inode64)
/dev/mapper/evg0-evol0 on /app type ext4 (rw,relatime)
/dev/mapper/evg0-evol0 on /tmp type ext4 (rw,relatime)
/dev/mapper/evg0-evol0 on /var/tmp type ext4 (rw,relatime)
none on /proc type proc (rw,relatime)
none on /dev type tmpfs (rw,nosuid,noatime,nodiratime,size=1024k,mode=755,inode64)
none on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,size=65536k,nr_inodes=2048,mode=700,uid=5790,gid=5790,inode64)
/dev/mapper/evg0-evol0 on /etc/passwd type ext4 (ro,relatime)
/dev/mapper/evg0-evol0 on /etc/group type ext4 (ro,relatime)
GUS-W-212985711 parent c7c46a6 commit 89648a4
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
0 commit comments