SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is a huge update on the current branch and I'm happy playing with it now. I noticed that it upgraded to new kernel and tool chains which may provide ext4 on it. How to creat/convert a partition to ext4 painlessly? What issues should I care about?
Well what I did, at least for a fresh install of 12.2, was download partedmagic and I burned it on the ISO, then I rebooted and booted partedmagic and made my ext4 partition for slack with the gparted utility. The I rebooted using the slackware 12.2 install DVD. However before you run setup you must set the test filesystem flag for ext4 otherwise it will fail half way through the install. After you log in as root BEFORE you run "setup" run this command "tune2fs -E test_fs /dev/*wahteveryourdiscis* so my system for instance my slack drive is the second sata drive in my system so my command would be
tune2fs -E test_fs /dev/sdb1
After that run setup and slack should install fine on your new ext4 partiton.
oh one more thing! when the install utility asks if you want to format your linux partition select "no, and continue".
The default slack kernel is 2.6.27 kernel so after i installed I compiled my own 2.6.28 kernel for better ext4 support.
There is a huge update on the current branch and I'm happy playing with it now. I noticed that it upgraded to new kernel and tool chains which may provide ext4 on it. How to creat/convert a partition to ext4 painlessly? What issues should I care about?
Thanks in advance~
The installer in slackware-current supports ext4 now, it is even the default filesystem type when formatting a partition. Mounting an ext3 filesystem as ext4 will enable certain new features that remain compatible with ext3, so that you can re-mount it as ext3 later (see also the previous post and google will show you a lot of tutorials). Converting an existing ext3 to ext4 is not hard (you should not have this partition mounted). When you want to enable the new "file-extents" feature of ext4:
but after conversion, only your new files will benefit most of extents while your existing files will keep using the old ext3 data structures. Once you run this tune2fs command on the ext3 partition, you will not be able to mount it as ext3 again. This is unlike ext2 <=> ext3 where you could mount an ext3 partition as ext2 and only lose the journal.
The installer in slackware-current supports ext4 now, it is even the default filesystem type when formatting a partition. Mounting an ext3 filesystem as ext4 will enable certain new features that remain compatible with ext3, so that you can re-mount it as ext3 later (see also the previous post and google will show you a lot of tutorials). Converting an existing ext3 to ext4 is not hard (you should not have this partition mounted). When you want to enable the new "file-extents" feature of ext4:
but after conversion, only your new files will benefit most of extents while your existing files will keep using the old ext3 data structures. Once you run this tune2fs command on the ext3 partition, you will not be able to mount it as ext3 again. This is unlike ext2 <=> ext3 where you could mount an ext3 partition as ext2 and only lose the journal.
Eric
Awesome.
Glad to see the support being added.
Thanks for the update Eric!
Thanks Daedra and Eric ~ From your posts I know current Slackware have full ext4 support. So I will format the WinXp partition to ext4 as soon as XP get rotten. Thanks.
Don't worry. It's a parameter tunable via sysfs. It's not wise to be scared by the Ubuntu community, which is a collection of idiots. If you look at the ext4 wiki, you can find that Ubuntu is hostile to ext4.
Don't worry. It's a parameter tunable via sysfs. It's not wise to be scared by the Ubuntu community, which is a collection of idiots. If you look at the ext4 wiki, you can find that Ubuntu is hostile to ext4.
Except of course, you'll lose most of the performance advantages of running ext4 in the first place so it sort of defeats the purpose of using it.
Theodore Ts'o has posted two very informative posts on that bug report explaining what's going on and also how application developers really should be coding apps to prevent this sort of stuff.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.