SliTaz SliTaz Forum

You are not logged in.

#1 2012-09-21 00:13:17

christophe
Member
Registered: 2011-04-17
Posts: 432

ext4, ssd, discard option

I am installing / on an ssd

Is /etc/init.d/rcS the right place to add a noatime,discard option when remounting / ?

Offline

#2 2012-09-21 17:15:24

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: ext4, ssd, discard option

i did try, and it seems to work

However it seems / is mounted as ext2 ?

I tried both from an ext3 and ext4 fs and i get

tux@slitaz:~$ mount

rootfs on / type rootfs (rw)

/dev/root on / type ext2 (rw,noatime,barrier=1,data=ordered)

Why is it mounted as ext2 ? (or shows as such: i read that barrier is an ext3 option ?)

Can I safely remount it as ext4 in /etc/init.d/rcS with option discard

and can I safely assume that trim will be supported as it should ? (the fs is ext4 and on a SSD)

Thanks

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]